/external/OpenCL-CTS/test_conformance/spir/ |
D | run_build_test.h | 45 void setErrorLog(cl_program); 57 BuildTask(cl_program, cl_device_id, const char* options); 62 cl_program m_program; 70 SpirBuildTask(cl_program, cl_device_id, const char* options); 78 CompileTask(cl_program, cl_device_id, const char* options); 80 void addHeader(const char* hname, cl_program hprog); 85 std::vector<std::pair<const char*,cl_program> > m_headers; 86 cl_program m_program; 94 SpirCompileTask(cl_program, cl_device_id, const char* options); 102 LinkTask(cl_program* programs, int num_programs, cl_context, cl_device_id, [all …]
|
D | run_build_test.cpp | 58 void Task::setErrorLog(cl_program prog) { in setErrorLog() 83 BuildTask::BuildTask(cl_program prog, cl_device_id dev, const char* options) : in BuildTask() 98 SpirBuildTask::SpirBuildTask(cl_program prog, cl_device_id dev, const char* options) : in SpirBuildTask() 105 CompileTask::CompileTask(cl_program prog, cl_device_id dev, const char* options) : in CompileTask() 108 void CompileTask::addHeader(const char* hname, cl_program hprog) { in addHeader() 112 const char* first(std::pair<const char*,cl_program>& p) { in first() 116 cl_program second(const std::pair<const char*, cl_program>& p) { in second() 126 std::vector<cl_program> programs; in execute() 130 const cl_program* h_programs = NULL; in execute() 157 SpirCompileTask::SpirCompileTask(cl_program prog, cl_device_id dev, const char* options) : in SpirCompileTask() [all …]
|
/external/OpenCL-CTS/test_conformance/compiler/ |
D | test_compile.cpp | 163 cl_program program; in test_large_single_compile() 261 cl_program program; in test_large_multi_file_library() 262 cl_program *simple_kernels; in test_large_multi_file_library() 267 simple_kernels = (cl_program*)malloc(numLines*sizeof(cl_program)); in test_large_multi_file_library() 341 …cl_program my_newly_minted_library = clLinkProgram(context, 1, &deviceID, "-create-library", numLi… in test_large_multi_file_library() 345 cl_program programs[2] = { program, my_newly_minted_library }; in test_large_multi_file_library() 346 …cl_program my_newly_linked_program = clLinkProgram(context, 1, &deviceID, NULL, 2, programs, NULL,… in test_large_multi_file_library() 427 cl_program program; in test_large_multiple_embedded_headers() 428 cl_program *simple_kernels; in test_large_multiple_embedded_headers() 429 cl_program *headers; in test_large_multiple_embedded_headers() [all …]
|
D | test_build_helpers.cpp | 149 cl_program program; in test_load_two_kernel_source() 187 cl_program program; in test_load_null_terminated_source() 214 cl_program program; in test_load_null_terminated_multi_line_source() 245 cl_program program; in test_load_discreet_length_source() 288 cl_program program; in test_load_null_terminated_partial_multi_line_source() 330 cl_program program; in test_get_program_info() 427 cl_program program; in test_get_program_source() 482 cl_program program; in test_get_program_build_info()
|
/external/mesa3d/src/gallium/frontends/clover/api/ |
D | program.cpp | 43 build_notifier(cl_program prog, in build_notifier() 44 void (*notifer)(cl_program, void *), void *data) : in build_notifier() argument 53 cl_program prog_; 54 void (*notifer)(cl_program, void *); 61 void (*pfn_notify)(cl_program, void *), in validate_build_common() argument 76 CLOVER_API cl_program 102 CLOVER_API cl_program 157 CLOVER_API cl_program 180 clRetainProgram(cl_program d_prog) try { in clRetainProgram() 189 clReleaseProgram(cl_program d_prog) try { in clReleaseProgram() [all …]
|
/external/angle/src/libANGLE/renderer/cl/ |
D | CLProgramCL.h | 21 CLProgramCL(const cl::Program &program, cl_program native); 24 cl_program getNative() const; 56 static void CL_CALLBACK Callback(cl_program program, void *userData); 58 const cl_program mNative; 63 inline cl_program CLProgramCL::getNative() const in getNative()
|
/external/angle/src/libGLESv2/ |
D | cl_stubs_autogen.h | 160 cl_program CreateProgramWithSource(cl_context context, 165 cl_program CreateProgramWithBinary(cl_context context, 172 cl_program CreateProgramWithBuiltInKernels(cl_context context, 177 cl_program CreateProgramWithIL(cl_context context, 181 cl_int RetainProgram(cl_program program); 182 cl_int ReleaseProgram(cl_program program); 183 cl_int BuildProgram(cl_program program, 187 void(CL_CALLBACK *pfn_notify)(cl_program program, void *user_data), 189 cl_int CompileProgram(cl_program program, 194 const cl_program *input_headers, [all …]
|
D | entry_points_cl_autogen.h | 100 cl_program CL_API_CALL clCreateProgramWithSource(cl_context context, 105 cl_program CL_API_CALL clCreateProgramWithBinary(cl_context context, 112 cl_int CL_API_CALL clRetainProgram(cl_program program); 113 cl_int CL_API_CALL clReleaseProgram(cl_program program); 114 cl_int CL_API_CALL clBuildProgram(cl_program program, 118 void(CL_CALLBACK *pfn_notify)(cl_program program, 121 cl_int CL_API_CALL clGetProgramInfo(cl_program program, 126 cl_int CL_API_CALL clGetProgramBuildInfo(cl_program program, 132 cl_kernel CL_API_CALL clCreateKernel(cl_program program, 135 cl_int CL_API_CALL clCreateKernelsInProgram(cl_program program, [all …]
|
D | cl_stubs.cpp | 397 cl_program CreateProgramWithSource(cl_context context, in CreateProgramWithSource() 406 cl_program CreateProgramWithBinary(cl_context context, in CreateProgramWithBinary() 418 cl_program CreateProgramWithBuiltInKernels(cl_context context, in CreateProgramWithBuiltInKernels() 428 cl_program CreateProgramWithIL(cl_context context, const void *il, size_t length, cl_int &errorCode) in CreateProgramWithIL() 433 cl_int RetainProgram(cl_program program) in RetainProgram() 439 cl_int ReleaseProgram(cl_program program) in ReleaseProgram() 449 cl_int BuildProgram(cl_program program, in BuildProgram() 453 void(CL_CALLBACK *pfn_notify)(cl_program program, void *user_data), in BuildProgram() 459 cl_int CompileProgram(cl_program program, in CompileProgram() 464 const cl_program *input_headers, in CompileProgram() [all …]
|
/external/OpenCL-CTS/test_common/harness/ |
D | kernelHelpers.h | 72 create_single_kernel_helper(cl_context context, cl_program *outProgram, 78 cl_context context, cl_program *outProgram, cl_kernel *outKernel, 83 cl_context context, cl_program *outProgram, unsigned int numKernelLines, 87 cl_context context, cl_device_id device, cl_program *outProgram, 93 extern int create_openclcpp_program(cl_context context, cl_program *outProgram, 100 cl_context context, cl_program *outProgram, cl_kernel *outKernel,
|
D | typeWrappers.h | 63 clProgramWrapper(cl_program program) { mProgram = program; } in clProgramWrapper() 69 clProgramWrapper &operator=(const cl_program &rhs) 74 operator cl_program() const { return mProgram; } in cl_program() function 76 cl_program *operator&() { return &mProgram; } 78 bool operator==(const cl_program &rhs) { return mProgram == rhs; } 81 cl_program mProgram;
|
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/ |
D | opencl_wrapper.h | 154 typedef cl_program(CL_API_CALL *PFN_clCreateProgramWithSource)( 158 typedef cl_program(CL_API_CALL *PFN_clCreateProgramWithBinary)( 163 typedef cl_program(CL_API_CALL *PFN_clCreateProgramWithBuiltInKernels)( 167 typedef cl_int(CL_API_CALL *PFN_clRetainProgram)(cl_program /* program */) 169 typedef cl_int(CL_API_CALL *PFN_clReleaseProgram)(cl_program /* program */) 172 cl_program /* program */, cl_uint /* num_devices */, 174 void(CL_CALLBACK * /* pfn_notify */)(cl_program /* program */, 178 cl_program /* program */, cl_uint /* num_devices */, 180 cl_uint /* num_input_headers */, const cl_program * /* input_headers */, 182 void(CL_CALLBACK * /* pfn_notify */)(cl_program /* program */, [all …]
|
D | cl_program.cc | 32 std::string GetProgramBuildInfo(cl_program program, cl_device_id id, in GetProgramBuildInfo() 52 absl::Status GetBinarySize(cl_program program, size_t* binary_size) { in GetBinarySize() 63 absl::Status BuildProgram(cl_program program, const CLDevice& device, in BuildProgram() 125 CLProgram::CLProgram(cl_program program, cl_device_id device_id) in CLProgram() 172 cl_program program = clCreateProgramWithSource(context.context(), 1, &source, in CreateCLProgram() 194 cl_program program = clCreateProgramWithBinary( in CreateCLProgramFromBinary()
|
D | cl_program.h | 40 CLProgram(cl_program program, cl_device_id device_id); 50 cl_program program() const { return program_; } in program() 63 cl_program program_ = nullptr;
|
/external/angle/src/libANGLE/ |
D | validationCL_autogen.h | 106 cl_int ValidateRetainProgram(cl_program program); 107 cl_int ValidateReleaseProgram(cl_program program); 108 cl_int ValidateBuildProgram(cl_program program, 112 void(CL_CALLBACK *pfn_notify)(cl_program program, void *user_data), 114 cl_int ValidateGetProgramInfo(cl_program program, 119 cl_int ValidateGetProgramBuildInfo(cl_program program, 125 cl_int ValidateCreateKernel(cl_program program, const char *kernel_name); 126 cl_int ValidateCreateKernelsInProgram(cl_program program, 399 cl_int ValidateCompileProgram(cl_program program, 404 const cl_program *input_headers, [all …]
|
D | CLContext.h | 81 cl_program createProgramWithSource(cl_uint count, 86 cl_program createProgramWithIL(const void *il, size_t length, cl_int &errorCode); 88 cl_program createProgramWithBinary(cl_uint numDevices, 95 cl_program createProgramWithBuiltInKernels(cl_uint numDevices, 100 cl_program linkProgram(cl_uint numDevices, 104 const cl_program *inputPrograms,
|
/external/ImageMagick/MagickCore/ |
D | opencl-private.h | 136 typedef CL_API_ENTRY cl_program 141 typedef CL_API_ENTRY cl_program 148 (CL_API_CALL *MAGICKpfn_clReleaseProgram)(cl_program program) 152 (CL_API_CALL *MAGICKpfn_clBuildProgram)(cl_program program, 154 void (CL_CALLBACK *pfn_notify)(cl_program program,void * user_data), 158 (CL_API_CALL *MAGICKpfn_clGetProgramBuildInfo)(cl_program program, 163 (CL_API_CALL *MAGICKpfn_clGetProgramInfo)(cl_program program, 170 (CL_API_CALL *MAGICKpfn_clCreateKernel)(cl_program program, 314 cl_program
|
/external/llvm-project/polly/lib/External/ppcg/ |
D | ocl_utilities.c | 111 cl_program opencl_build_program_from_string(cl_context ctx, cl_device_id dev, in opencl_build_program_from_string() 116 cl_program program; in opencl_build_program_from_string() 144 cl_program opencl_build_program_from_file(cl_context ctx, cl_device_id dev, in opencl_build_program_from_file() 147 cl_program program; in opencl_build_program_from_file()
|
D | ocl_utilities.h | 23 cl_program opencl_build_program_from_string(cl_context ctx, cl_device_id dev, 29 cl_program opencl_build_program_from_file(cl_context ctx, cl_device_id dev,
|
/external/OpenCL-CTS/test_conformance/api/ |
D | test_create_kernels.cpp | 80 cl_program testProgram; in test_load_single_kernel() 96 …error = clGetKernelInfo( kernel, CL_KERNEL_PROGRAM, sizeof( cl_program ), &testProgram, &realSize … in test_load_single_kernel() 98 if( (cl_program)testProgram != (cl_program)program ) in test_load_single_kernel() 100 …atch program used to create it! (Got %p, expected %p)\n", (cl_program)testProgram, (cl_program)pro… in test_load_single_kernel() 103 if( realSize != sizeof( cl_program ) ) in test_load_single_kernel() 105 …am does not match expected size (expected %d, got %d)\n", (int)sizeof( cl_program ), (int)realSize… in test_load_single_kernel() 501 cl_program local_program; in test_repeated_setup_cleanup()
|
/external/mesa3d/include/CL/ |
D | cl.h | 34 typedef struct _cl_program * cl_program; typedef 1230 extern CL_API_ENTRY cl_program CL_API_CALL 1237 extern CL_API_ENTRY cl_program CL_API_CALL 1248 extern CL_API_ENTRY cl_program CL_API_CALL 1259 extern CL_API_ENTRY cl_program CL_API_CALL 1268 clRetainProgram(cl_program program) CL_API_SUFFIX__VERSION_1_0; 1271 clReleaseProgram(cl_program program) CL_API_SUFFIX__VERSION_1_0; 1274 clBuildProgram(cl_program program, 1278 void (CL_CALLBACK * pfn_notify)(cl_program program, 1285 clCompileProgram(cl_program program, [all …]
|
/external/OpenCL-CTS/dependencies/ocl-headers/CL/ |
D | cl.h | 34 typedef struct _cl_program * cl_program; typedef 1232 extern CL_API_ENTRY cl_program CL_API_CALL 1239 extern CL_API_ENTRY cl_program CL_API_CALL 1250 extern CL_API_ENTRY cl_program CL_API_CALL 1261 extern CL_API_ENTRY cl_program CL_API_CALL 1270 clRetainProgram(cl_program program) CL_API_SUFFIX__VERSION_1_0; 1273 clReleaseProgram(cl_program program) CL_API_SUFFIX__VERSION_1_0; 1276 clBuildProgram(cl_program program, 1280 void (CL_CALLBACK * pfn_notify)(cl_program program, 1287 clCompileProgram(cl_program program, [all …]
|
/external/angle/include/CL/ |
D | cl.h | 34 typedef struct _cl_program * cl_program; typedef 1232 extern CL_API_ENTRY cl_program CL_API_CALL 1239 extern CL_API_ENTRY cl_program CL_API_CALL 1250 extern CL_API_ENTRY cl_program CL_API_CALL 1261 extern CL_API_ENTRY cl_program CL_API_CALL 1270 clRetainProgram(cl_program program) CL_API_SUFFIX__VERSION_1_0; 1273 clReleaseProgram(cl_program program) CL_API_SUFFIX__VERSION_1_0; 1276 clBuildProgram(cl_program program, 1280 void (CL_CALLBACK * pfn_notify)(cl_program program, 1287 clCompileProgram(cl_program program, [all …]
|
D | cl_icd.h | 259 typedef cl_program(CL_API_CALL *cl_api_clCreateProgramWithSource)( 263 typedef cl_program(CL_API_CALL *cl_api_clCreateProgramWithBinary)( 271 cl_program(CL_API_CALL *cl_api_clCreateProgramWithBuiltInKernels)( 282 cl_program program) CL_API_SUFFIX__VERSION_1_0; 285 cl_program program) CL_API_SUFFIX__VERSION_1_0; 288 cl_program program, cl_uint num_devices, const cl_device_id *device_list, 290 void(CL_CALLBACK *pfn_notify)(cl_program program, void *user_data), 296 cl_program program, cl_uint num_devices, const cl_device_id *device_list, 298 const cl_program *input_headers, const char **header_include_names, 299 void(CL_CALLBACK *pfn_notify)(cl_program program, void *user_data), [all …]
|
/external/angle/src/libOpenCL/ |
D | libOpenCL_autogen.cpp | 190 cl_program CL_API_CALL clCreateProgramWithSource(cl_context context, in clCreateProgramWithSource() 200 cl_program CL_API_CALL clCreateProgramWithBinary(cl_context context, in clCreateProgramWithBinary() 212 cl_int CL_API_CALL clRetainProgram(cl_program program) in clRetainProgram() 217 cl_int CL_API_CALL clReleaseProgram(cl_program program) in clReleaseProgram() 222 cl_int CL_API_CALL clBuildProgram(cl_program program, in clBuildProgram() 226 void(CL_CALLBACK *pfn_notify)(cl_program program, in clBuildProgram() 234 cl_int CL_API_CALL clGetProgramInfo(cl_program program, in clGetProgramInfo() 244 cl_int CL_API_CALL clGetProgramBuildInfo(cl_program program, in clGetProgramBuildInfo() 255 cl_kernel CL_API_CALL clCreateKernel(cl_program program, in clCreateKernel() 262 cl_int CL_API_CALL clCreateKernelsInProgram(cl_program program, in clCreateKernelsInProgram() [all …]
|