Home
last modified time | relevance | path

Searched refs:Kernel (Results 1 - 25 of 94) sorted by relevance

1234

/third_party/protobuf/js/experimental/runtime/kernel/
H A Dkernel_test.js11 const Kernel = goog.require('protobuf.runtime.Kernel');
27 describe('Kernel', () => {
29 const accessor = Kernel.fromArrayBuffer(new ArrayBuffer(0));
34 const accessor = Kernel.fromArrayBuffer(
43 const accessor = Kernel.fromArrayBuffer(new ArrayBuffer(0));
48 const accessor = Kernel.fromArrayBuffer(new ArrayBuffer(0), 50);
53 describe('Kernel hasFieldNumber', () => {
55 const accessor = Kernel.fromArrayBuffer(new ArrayBuffer(0));
61 const accessor = Kernel
[all...]
H A Dkernel_repeated_test.js11 const Kernel = goog.require('protobuf.runtime.Kernel');
71 describe('Kernel for repeated boolean does', () => {
73 const accessor = Kernel.createEmpty();
78 const accessor = Kernel.createEmpty();
85 const accessor = Kernel.createEmpty();
91 const accessor = Kernel.fromArrayBuffer(bytes);
97 const accessor = Kernel.fromArrayBuffer(bytes);
105 const accessor = Kernel.fromArrayBuffer(bytes);
110 const accessor = Kernel
[all...]
H A Dkernel_compatibility_test.js2 * @fileoverview Tests to make sure Kernel can read data in a backward
19 const Kernel = goog.require('protobuf.runtime.Kernel');
42 const oldAccessor = Kernel.createEmpty();
47 const newAccessor = Kernel.fromArrayBuffer(serializedData);
53 const message = new TestMessage(Kernel.createEmpty());
56 const oldAccessor = Kernel.createEmpty();
61 const newAccessor = Kernel.fromArrayBuffer(serializedData);
71 const message = new TestMessage(Kernel.createEmpty());
74 const oldAccessor = Kernel
[all...]
H A Dmessage_set_test.js8 const Kernel = goog.require('protobuf.runtime.Kernel');
82 Kernel.fromArrayBuffer(messageSet.internalGetKernel().serialize());
133 const outerMessage = Kernel.fromArrayBuffer(arrayBuffer);
170 const outerMessage = Kernel.fromArrayBuffer(arrayBuffer);
211 const fooMessage = Kernel.createEmpty();
217 const barMessage = Kernel.createEmpty();
238 const fooMessage = Kernel.createEmpty();
245 const barMessage = Kernel.createEmpty();
250 const barMessageParsed = Kernel
[all...]
H A Dmessage_set.js20 const Kernel = goog.require('protobuf.runtime.Kernel');
37 * @param {!Kernel} kernel
57 * @param {!Kernel} kernel
70 * @param {!Kernel} kernel
82 return MessageSet.fromKernel(Kernel.createEmpty());
86 * @param {!Kernel} kernel
91 /** @const {!Kernel} @private */
103 * @param {function(!Kernel):T} instanceCreator
115 * @param {function(!Kernel)
[all...]
H A Dkernel.js2 * @fileoverview Kernel is a class to provide type-checked accessing
5 * When creating the Kernel with the binary data, there is no deep
12 * fields), Kernel will only need the full type information of used
15 goog.module('protobuf.runtime.Kernel');
58 * @param {function(!Kernel):T} instanceCreator
63 const emptyMessage = instanceCreator(Kernel.createEmpty());
150 * @param {function(!Kernel):T} instanceCreator
183 * @return {!Kernel}
200 return Kernel.fromBufferDecoder_(accessorBuffer, pivot);
208 * @param {function(!Kernel)
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
H A DAMDGPUMetadata.cpp22 LLVM_YAML_IS_SEQUENCE_VECTOR(Kernel::Arg::Metadata)
23 LLVM_YAML_IS_SEQUENCE_VECTOR(Kernel::Metadata)
93 struct MappingTraits<Kernel::Attrs::Metadata> {
94 static void mapping(IO &YIO, Kernel::Attrs::Metadata &MD) { in mapping()
95 YIO.mapOptional(Kernel::Attrs::Key::ReqdWorkGroupSize, in mapping()
97 YIO.mapOptional(Kernel::Attrs::Key::WorkGroupSizeHint, in mapping()
99 YIO.mapOptional(Kernel::Attrs::Key::VecTypeHint, in mapping()
101 YIO.mapOptional(Kernel::Attrs::Key::RuntimeHandle, MD.mRuntimeHandle, in mapping()
107 struct MappingTraits<Kernel::Arg::Metadata> {
108 static void mapping(IO &YIO, Kernel
[all...]
/third_party/skia/third_party/externals/spirv-tools/test/
H A Doperand_capabilities_test.cpp113 CASE1(EXECUTION_MODEL, ExecutionModelKernel, Kernel),
133 CASE1(MEMORY_MODEL, MemoryModelOpenCL, Kernel),
161 CASE1(EXECUTION_MODE, ExecutionModeLocalSizeHint, Kernel),
177 CASE1(EXECUTION_MODE, ExecutionModeVecTypeHint, Kernel),
178 CASE1(EXECUTION_MODE, ExecutionModeContractionOff, Kernel),
185 CASE1(EXECUTION_MODE, ExecutionModeInitializer, Kernel),
186 CASE1(EXECUTION_MODE, ExecutionModeFinalizer, Kernel),
218 CASE3(DIMENSIONALITY, Dim2D, Kernel, Shader, ImageMSArray),
232 CASE1(SAMPLER_ADDRESSING_MODE, SamplerAddressingModeNone, Kernel),
234 Kernel),
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/
H A Doperand_capabilities_test.cpp113 CASE1(EXECUTION_MODEL, ExecutionModelKernel, Kernel),
133 CASE1(MEMORY_MODEL, MemoryModelOpenCL, Kernel),
161 CASE1(EXECUTION_MODE, ExecutionModeLocalSizeHint, Kernel),
177 CASE1(EXECUTION_MODE, ExecutionModeVecTypeHint, Kernel),
178 CASE1(EXECUTION_MODE, ExecutionModeContractionOff, Kernel),
185 CASE1(EXECUTION_MODE, ExecutionModeInitializer, Kernel),
186 CASE1(EXECUTION_MODE, ExecutionModeFinalizer, Kernel),
218 CASE3(DIMENSIONALITY, Dim2D, Kernel, Shader, ImageMSArray),
232 CASE1(SAMPLER_ADDRESSING_MODE, SamplerAddressingModeNone, Kernel),
234 Kernel),
[all...]
/third_party/spirv-tools/test/
H A Doperand_capabilities_test.cpp150 CASE1(EXECUTION_MODEL, ExecutionModel::Kernel, Kernel),
170 CASE1(MEMORY_MODEL, MemoryModel::OpenCL, Kernel),
198 CASE1(EXECUTION_MODE, ExecutionMode::LocalSizeHint, Kernel),
214 CASE1(EXECUTION_MODE, ExecutionMode::VecTypeHint, Kernel),
215 CASE1(EXECUTION_MODE, ExecutionMode::ContractionOff, Kernel),
222 CASE1(EXECUTION_MODE, ExecutionMode::Initializer, Kernel),
223 CASE1(EXECUTION_MODE, ExecutionMode::Finalizer, Kernel),
341 CASE1(IMAGE_CHANNEL_ORDER, ImageChannelOrder::R, Kernel),
342 CASE1(IMAGE_CHANNEL_ORDER, ImageChannelOrder::A, Kernel),
[all...]
H A Dopcode_require_capabilities_test.cpp50 CapabilitySet{spv::Capability::Kernel,
53 CapabilitySet{spv::Capability::Kernel,
56 CapabilitySet{spv::Capability::Kernel,
59 CapabilitySet{spv::Capability::Kernel,
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A DCLKernel.h6 // CLKernel.h: Defines the cl::Kernel class, which is a function declared in an OpenCL program.
17 class Kernel final : public _cl_kernel, public Object
39 ~Kernel() override;
48 Kernel(Program &program, const char *name, cl_int &errorCode);
49 Kernel(Program &program, const rx::CLKernelImpl::CreateFunc &createFunc, cl_int &errorCode);
59 inline const Program &Kernel::getProgram() const in getProgram()
64 inline const rx::CLKernelImpl::Info &Kernel::getInfo() const in getInfo()
70 inline T &Kernel::getImpl() const in getImpl()
H A DCLKernel.cpp6 // CLKernel.cpp: Implements the cl::Kernel class.
18 cl_int Kernel::setArg(cl_uint argIndex, size_t argSize, const void *argValue) in setArg()
23 cl_int Kernel::getInfo(KernelInfo name, size_t valueSize, void *value, size_t *valueSizeRet) const in getInfo()
66 // as described in the Kernel Object Queries table and param_value is not NULL. in getInfo()
83 cl_int Kernel::getWorkGroupInfo(cl_device_id device, in getWorkGroupInfo()
140 // as described in the Kernel Object Device Queries table and param_value is not NULL. in getWorkGroupInfo()
157 cl_int Kernel::getArgInfo(cl_uint argIndex, in getArgInfo()
196 // as described in the Kernel Argument Queries table and param_value is not NULL. in getArgInfo()
213 Kernel::~Kernel() in ~Kernel()
218 Kernel::Kernel(Program &program, const char *name, cl_int &errorCode) Kernel() function in cl::Kernel
226 Kernel::Kernel(Program &program, const rx::CLKernelImpl::CreateFunc &createFunc, cl_int &errorCode) Kernel() function in cl::Kernel
[all...]
H A DCLtypes.h47 class Kernel;
59 using KernelPtr = RefPointer<Kernel>;
H A DvalidationCL.cpp1258 return Kernel::IsValid(kernel) ? CL_SUCCESS : CL_INVALID_KERNEL; in ValidateRetainKernel()
1264 return Kernel::IsValid(kernel) ? CL_SUCCESS : CL_INVALID_KERNEL; in ValidateReleaseKernel()
1273 if (!Kernel::IsValid(kernel)) in ValidateSetKernelArg()
1277 const Kernel &krnl = kernel->cast<Kernel>(); in ValidateSetKernelArg()
1373 if (!Kernel::IsValid(kernel)) in ValidateGetKernelInfo()
1380 kernel->cast<Kernel>().getProgram().getContext().getPlatform().getVersion(); in ValidateGetKernelInfo()
1404 if (!Kernel::IsValid(kernel)) in ValidateGetKernelWorkGroupInfo()
1408 const Kernel &krnl = kernel->cast<Kernel>(); in ValidateGetKernelWorkGroupInfo()
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
H A DCLKernelImpl.h20 using CreateFunc = std::function<Ptr(const cl::Kernel &)>;
83 CLKernelImpl(const cl::Kernel &kernel);
91 const cl::Kernel &mKernel;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Target/
H A DCodeGenCWrappers.h38 return CodeModel::Kernel; in unwrap()
53 case CodeModel::Kernel: in wrap()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Instrumentation/
H A DMemorySanitizer.h23 MemorySanitizerOptions(int TrackOrigins, bool Recover, bool Kernel);
24 bool Kernel; member
/third_party/protobuf/js/experimental/runtime/kernel/conformance/
H A Dconformance_request.js6 const Kernel = goog.require('protobuf.runtime.Kernel');
22 /** @private @const {!Kernel} */
23 this.accessor_ = Kernel.fromArrayBuffer(bytes);
/third_party/protobuf/js/experimental/benchmarks/code_size/kernel/
H A Dpopular_types.js23 const Kernel = goog.require('protobuf.runtime.Kernel');
34 const message = new TestMessage(Kernel.createEmpty());
/third_party/spirv-tools/test/opt/
H A Dfeature_manager_test.cpp123 context->get_feature_mgr()->HasCapability(spv::Capability::Kernel)); in TEST_F()
128 OpCapability Kernel in TEST_F()
139 context->get_feature_mgr()->HasCapability(spv::Capability::Kernel)); in TEST_F()
161 context->get_feature_mgr()->HasCapability(spv::Capability::Kernel)); in TEST_F()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
H A DAMDGPUHSAMetadataStreamer.cpp210 Kernel::CodeProps::Metadata
215 HSAMD::Kernel::CodeProps::Metadata HSACodeProps; in getHSACodeProps()
240 Kernel::DebugProps::Metadata
243 return HSAMD::Kernel::DebugProps::Metadata(); in getHSADebugProps()
266 auto &Kernel = HSAMetadata.mKernels.back(); in emitKernelLanguage() local
276 Kernel.mLanguage = "OpenCL C"; in emitKernelLanguage()
277 Kernel.mLanguageVersion.push_back( in emitKernelLanguage()
279 Kernel.mLanguageVersion.push_back( in emitKernelLanguage()
367 HSAMetadata.mKernels.back().mArgs.push_back(Kernel::Arg::Metadata()); in emitKernelArg()
479 HSAMetadata.mKernels.push_back(Kernel in emitKernel()
480 auto &Kernel = HSAMetadata.mKernels.back(); emitKernel() local
[all...]
H A DAMDGPUHSAMetadataStreamer.h142 Kernel::CodeProps::Metadata getHSACodeProps(
145 Kernel::DebugProps::Metadata getHSADebugProps(
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
H A DAMDGPUMetadata.h100 // Kernel Metadata.
102 namespace Kernel { namespace in llvm::AMDGPU::HSAMD::AccessQualifier::AddressSpaceQualifier::ValueKind::ValueType
105 // Kernel Attributes Metadata.
110 /// Key for Kernel::Attr::Metadata::mReqdWorkGroupSize.
112 /// Key for Kernel::Attr::Metadata::mWorkGroupSizeHint.
114 /// Key for Kernel::Attr::Metadata::mVecTypeHint.
116 /// Key for Kernel::Attr::Metadata::mRuntimeHandle.
150 // Kernel Argument Metadata.
155 /// Key for Kernel::Arg::Metadata::mName.
157 /// Key for Kernel
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
H A DCLKernelVk.cpp13 CLKernelVk::CLKernelVk(const cl::Kernel &kernel) : CLKernelImpl(kernel) {} in CLKernelVk()

Completed in 17 milliseconds

1234