Home
last modified time | relevance | path

Searched refs:cl_kernel (Results 1 – 25 of 230) sorted by relevance

12345678910

/external/OpenCL-CTS/test_common/harness/
DkernelHelpers.h73 cl_kernel *outKernel, unsigned int numKernelLines,
78 cl_context context, cl_program *outProgram, cl_kernel *outKernel,
100 cl_context context, cl_program *outProgram, cl_kernel *outKernel,
106 extern int get_max_common_work_group_size(cl_context context, cl_kernel kernel,
113 cl_kernel kernel,
120 cl_kernel kernel,
126 extern int get_max_allowed_work_group_size(cl_context context, cl_kernel kernel,
131 cl_kernel kernel,
DtypeWrappers.h89 clKernelWrapper(cl_kernel kernel) { mKernel = kernel; } in clKernelWrapper()
95 clKernelWrapper &operator=(const cl_kernel &rhs)
100 operator cl_kernel() const { return mKernel; } in cl_kernel() function
102 cl_kernel *operator&() { return &mKernel; }
104 bool operator==(const cl_kernel &rhs) { return mKernel == rhs; }
107 cl_kernel mKernel;
/external/angle/src/libANGLE/renderer/cl/
DCLKernelCL.h21 CLKernelCL(const cl::Kernel &kernel, cl_kernel native);
24 cl_kernel getNative() const;
31 const cl_kernel mNative;
34 inline cl_kernel CLKernelCL::getNative() const in getNative()
DCLKernelCL.cpp31 bool GetWorkGroupInfo(cl_kernel kernel, in GetWorkGroupInfo()
43 bool GetArgInfo(cl_kernel kernel, in GetArgInfo()
59 bool GetKernelInfo(cl_kernel kernel, cl::KernelInfo name, T &value, cl_int &errorCode) in GetKernelInfo()
66 bool GetArgString(cl_kernel kernel, in GetArgString()
95 bool GetKernelString(cl_kernel kernel, cl::KernelInfo name, std::string &string, cl_int &errorCode) in GetKernelString()
117 CLKernelCL::CLKernelCL(const cl::Kernel &kernel, cl_kernel native) in CLKernelCL()
/external/mesa3d/src/gallium/frontends/clover/api/
Dkernel.cpp29 CLOVER_API cl_kernel
52 cl_kernel *rd_kerns, cl_uint *r_count) try { in clCreateKernelsInProgram()
78 clRetainKernel(cl_kernel d_kern) try { in clRetainKernel()
87 clReleaseKernel(cl_kernel d_kern) try { in clReleaseKernel()
98 clSetKernelArg(cl_kernel d_kern, cl_uint idx, size_t size, in clSetKernelArg()
111 clGetKernelInfo(cl_kernel d_kern, cl_kernel_info param, in clGetKernelInfo()
152 clGetKernelWorkGroupInfo(cl_kernel d_kern, cl_device_id d_dev, in clGetKernelWorkGroupInfo()
197 clGetKernelArgInfo(cl_kernel d_kern, in clGetKernelArgInfo()
318 clEnqueueNDRangeKernel(cl_command_queue d_q, cl_kernel d_kern, in clEnqueueNDRangeKernel()
347 clEnqueueTask(cl_command_queue d_q, cl_kernel d_kern, in clEnqueueTask()
[all …]
/external/ImageMagick/MagickCore/
Dopencl-private.h169 typedef CL_API_ENTRY cl_kernel
174 (CL_API_CALL *MAGICKpfn_clReleaseKernel)(cl_kernel kernel)
178 (CL_API_CALL *MAGICKpfn_clSetKernelArg)(cl_kernel kernel,cl_uint arg_index,
182 (CL_API_CALL *MAGICKpfn_clGetKernelInfo)(cl_kernel kernel,
208 cl_command_queue command_queue,cl_kernel kernel,cl_uint work_dim,
422 SetOpenCLKernelArg(cl_kernel,size_t,size_t,const void *);
424 extern MagickPrivate cl_kernel
431 EnqueueOpenCLKernel(cl_command_queue,cl_kernel,cl_uint,const size_t *,
438 RecordProfileData(MagickCLDevice,cl_kernel,cl_event);
459 ReleaseOpenCLKernel(cl_kernel),
/external/skqp/src/compute/hs/cl/
Dhs_cl.c47 cl_kernel * bs;
48 cl_kernel * bc;
49 cl_kernel * fm[3];
50 cl_kernel * hm[3];
51 cl_kernel * transpose;
52 cl_kernel all[];
205 hs_trace(cl_kernel kernel, in hs_trace()
237 cl_kernel kernel = hs->kernels.transpose[0]; in hs_transpose()
283 cl_kernel kernel = hs->kernels.hm[scale_log2][0]; in hs_hm_enqueue()
352 cl_kernel kernel = hs->kernels.bc[clean_slabs_log2]; in hs_bc_enqueue()
[all …]
/external/skqp/src/compute/skc/platforms/cl_12/
Ddevice_cl_12.h76 cl_kernel
82 cl_kernel kernel);
91 cl_kernel kernel,
Dcomposition_cl_12.h57 cl_kernel place;
58 cl_kernel segment;
/external/angle/src/libGLESv2/
Dcl_stubs_autogen.h226 cl_kernel CreateKernel(cl_program program, const char *kernel_name, cl_int &errorCode);
229 cl_kernel *kernels,
231 cl_kernel CloneKernel(cl_kernel source_kernel, cl_int &errorCode);
232 cl_int RetainKernel(cl_kernel kernel);
233 cl_int ReleaseKernel(cl_kernel kernel);
234 cl_int SetKernelArg(cl_kernel kernel, cl_uint arg_index, size_t arg_size, const void *arg_value);
235 cl_int SetKernelArgSVMPointer(cl_kernel kernel, cl_uint arg_index, const void *arg_value);
236 cl_int SetKernelExecInfo(cl_kernel kernel,
240 cl_int GetKernelInfo(cl_kernel kernel,
245 cl_int GetKernelArgInfo(cl_kernel kernel,
[all …]
Dentry_points_cl_autogen.h132 cl_kernel CL_API_CALL clCreateKernel(cl_program program,
137 cl_kernel *kernels,
139 cl_int CL_API_CALL clRetainKernel(cl_kernel kernel);
140 cl_int CL_API_CALL clReleaseKernel(cl_kernel kernel);
141 cl_int CL_API_CALL clSetKernelArg(cl_kernel kernel,
145 cl_int CL_API_CALL clGetKernelInfo(cl_kernel kernel,
150 cl_int CL_API_CALL clGetKernelWorkGroupInfo(cl_kernel kernel,
276 cl_kernel kernel,
333 cl_kernel kernel,
438 cl_int CL_API_CALL clGetKernelArgInfo(cl_kernel kernel,
[all …]
Dcl_stubs.cpp532 cl_kernel CreateKernel(cl_program program, const char *kernel_name, cl_int &errorCode) in CreateKernel()
539 cl_kernel *kernels, in CreateKernelsInProgram()
545 cl_kernel CloneKernel(cl_kernel source_kernel, cl_int &errorCode) in CloneKernel()
551 cl_int RetainKernel(cl_kernel kernel) in RetainKernel()
557 cl_int ReleaseKernel(cl_kernel kernel) in ReleaseKernel()
567 cl_int SetKernelArg(cl_kernel kernel, cl_uint arg_index, size_t arg_size, const void *arg_value) in SetKernelArg()
572 cl_int SetKernelArgSVMPointer(cl_kernel kernel, cl_uint arg_index, const void *arg_value) in SetKernelArgSVMPointer()
578 cl_int SetKernelExecInfo(cl_kernel kernel, in SetKernelExecInfo()
587 cl_int GetKernelInfo(cl_kernel kernel, in GetKernelInfo()
597 cl_int GetKernelArgInfo(cl_kernel kernel, in GetKernelArgInfo()
[all …]
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/
Dopencl_wrapper.h204 typedef cl_kernel(CL_API_CALL *PFN_clCreateKernel)(
209 cl_kernel * /* kernels */,
211 typedef cl_int(CL_API_CALL *PFN_clRetainKernel)(cl_kernel /* kernel */)
213 typedef cl_int(CL_API_CALL *PFN_clReleaseKernel)(cl_kernel /* kernel */)
216 cl_kernel /* kernel */, cl_uint /* arg_index */, size_t /* arg_size */,
219 cl_kernel /* kernel */, cl_uint /* arg_index */,
222 cl_kernel /* kernel */, cl_kernel_exec_info /* param_name */,
226 cl_kernel /* kernel */, cl_kernel_info /* param_name */,
230 cl_kernel /* kernel */, cl_uint /* arg_indx */,
235 cl_kernel /* kernel */, cl_device_id /* device */,
[all …]
Dcl_kernel.cc28 absl::Status GetKernelMaxWorkGroupSize(cl_kernel kernel, cl_device_id device_id, in GetKernelMaxWorkGroupSize()
43 absl::Status GetKernelPrivateMemorySize(cl_kernel kernel, in GetKernelPrivateMemorySize()
85 cl_kernel* kern_ptr = const_cast<cl_kernel*>(&kernel_); in ReInit()
Dcl_kernel.h49 cl_kernel kernel() const { return kernel_; } in kernel()
84 cl_kernel kernel_ = nullptr;
/external/angle/src/libANGLE/
DvalidationCL_autogen.h128 const cl_kernel *kernels,
130 cl_int ValidateRetainKernel(cl_kernel kernel);
131 cl_int ValidateReleaseKernel(cl_kernel kernel);
132 cl_int ValidateSetKernelArg(cl_kernel kernel,
136 cl_int ValidateGetKernelInfo(cl_kernel kernel,
141 cl_int ValidateGetKernelWorkGroupInfo(cl_kernel kernel,
265 cl_kernel kernel,
318 cl_kernel kernel,
417 cl_int ValidateGetKernelArgInfo(cl_kernel kernel,
479 cl_int ValidateSetKernelArgSVMPointer(cl_kernel kernel, cl_uint arg_index, const void *arg_value);
[all …]
/external/OpenCL-CTS/test_conformance/spir/
Drun_services.h37 cl_kernel create_kernel_helper(cl_program program, const std::string& kernel_name);
41 void generate_kernel_ws( cl_device_id device, cl_kernel kernel, WorkSizeInfo& ws);
60 …TestResult* clone(cl_context ctx, const WorkSizeInfo& ws, const cl_kernel kernel, const cl_device_…
216 void generate_kernel_data(cl_context context, cl_kernel kernel,
219 void run_kernel(cl_kernel kernel, cl_command_queue queue, WorkSizeInfo &ws, TestResult& result);
/external/OpenCL-CTS/test_conformance/SVM/
Dcommon.h79 …inked_lists_on_device(int qi, cl_command_queue q, cl_mem allocator, cl_kernel k, size_t numLis…
80 …inked_lists_on_device(int qi, cl_command_queue q, cl_mem num_correct, cl_kernel k, cl_int ListLe…
81 …ists_on_device_no_map(int qi, cl_command_queue q, size_t *pAllocator, cl_kernel k, size_t numLis…
82 …ists_on_device_no_map(int qi, cl_command_queue q, cl_int *pNum_correct, cl_kernel k, cl_int ListLe…
/external/OpenCL-CTS/test_conformance/commonfns/
Dtest_radians.cpp119 cl_kernel *kernel; in test_radians()
128 kernel = (cl_kernel*)malloc(sizeof(cl_kernel)*kTotalVecCount); in test_radians()
349 cl_kernel *kernel; in test_radians_double()
359 kernel = (cl_kernel*)malloc(sizeof(cl_kernel)*kTotalVecCount); in test_radians_double()
Dtest_degrees.cpp118 cl_kernel *kernel; in test_degrees()
127 kernel = (cl_kernel*)malloc(sizeof(cl_kernel)*kTotalVecCount); in test_degrees()
348 cl_kernel *kernel; in test_degrees_double()
357 kernel = (cl_kernel*)malloc(sizeof(cl_kernel)*kTotalVecCount); in test_degrees_double()
Dtest_fmin.cpp95 cl_kernel *kernel; in test_fmin()
104 kernel = (cl_kernel*)malloc(sizeof(cl_kernel)*kTotalVecCount); in test_fmin()
/external/mesa3d/include/CL/
Dcl.h35 typedef struct _cl_kernel * cl_kernel; typedef
1349 extern CL_API_ENTRY cl_kernel CL_API_CALL
1357 cl_kernel * kernels,
1362 extern CL_API_ENTRY cl_kernel CL_API_CALL
1363 clCloneKernel(cl_kernel source_kernel,
1369 clRetainKernel(cl_kernel kernel) CL_API_SUFFIX__VERSION_1_0;
1372 clReleaseKernel(cl_kernel kernel) CL_API_SUFFIX__VERSION_1_0;
1375 clSetKernelArg(cl_kernel kernel,
1383 clSetKernelArgSVMPointer(cl_kernel kernel,
1388 clSetKernelExecInfo(cl_kernel kernel,
[all …]
/external/angle/include/CL/
Dcl_icd.h356 typedef cl_kernel(CL_API_CALL *cl_api_clCreateKernel)(
361 cl_program program, cl_uint num_kernels, cl_kernel *kernels,
365 cl_kernel kernel) CL_API_SUFFIX__VERSION_1_0;
368 cl_kernel kernel) CL_API_SUFFIX__VERSION_1_0;
371 cl_kernel kernel, cl_uint arg_index, size_t arg_size,
375 cl_kernel kernel, cl_kernel_info param_name, size_t param_value_size,
381 cl_kernel kernel, cl_uint arg_indx, cl_kernel_arg_info param_name,
392 cl_kernel kernel, cl_device_id device, cl_kernel_work_group_info param_name,
399 cl_kernel /* kernel */, cl_uint /* arg_index */,
403 cl_kernel /* kernel */, cl_kernel_exec_info /* param_name */,
[all …]
Dcl.h35 typedef struct _cl_kernel * cl_kernel; typedef
1351 extern CL_API_ENTRY cl_kernel CL_API_CALL
1359 cl_kernel * kernels,
1364 extern CL_API_ENTRY cl_kernel CL_API_CALL
1365 clCloneKernel(cl_kernel source_kernel,
1371 clRetainKernel(cl_kernel kernel) CL_API_SUFFIX__VERSION_1_0;
1374 clReleaseKernel(cl_kernel kernel) CL_API_SUFFIX__VERSION_1_0;
1377 clSetKernelArg(cl_kernel kernel,
1385 clSetKernelArgSVMPointer(cl_kernel kernel,
1390 clSetKernelExecInfo(cl_kernel kernel,
[all …]
/external/OpenCL-CTS/dependencies/ocl-headers/CL/
Dcl.h35 typedef struct _cl_kernel * cl_kernel; typedef
1351 extern CL_API_ENTRY cl_kernel CL_API_CALL
1359 cl_kernel * kernels,
1364 extern CL_API_ENTRY cl_kernel CL_API_CALL
1365 clCloneKernel(cl_kernel source_kernel,
1371 clRetainKernel(cl_kernel kernel) CL_API_SUFFIX__VERSION_1_0;
1374 clReleaseKernel(cl_kernel kernel) CL_API_SUFFIX__VERSION_1_0;
1377 clSetKernelArg(cl_kernel kernel,
1385 clSetKernelArgSVMPointer(cl_kernel kernel,
1390 clSetKernelExecInfo(cl_kernel kernel,
[all …]

12345678910