Home
last modified time | relevance | path

Searched refs:cl_program (Results 1 – 25 of 217) sorted by relevance

123456789

/external/OpenCL-CTS/test_conformance/spir/
Drun_build_test.h45 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 …]
Drun_build_test.cpp58 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 …]
Drun_services.h32 cl_program create_program_from_cl(cl_context context, const std::string& file_name);
33 cl_program create_program_from_bc(cl_context context, const std::string& file_name);
37 cl_kernel create_kernel_helper(cl_program program, const std::string& kernel_name);
39 cl_device_id get_program_device (cl_program program);
/external/OpenCL-CTS/test_conformance/compiler/
Dtest_compile.cpp163 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()
341cl_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()
346cl_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 …]
Dtest_build_helpers.cpp149 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()
481 cl_program program; in test_get_program_build_info()
Dtest_async_build.cpp34 void CL_CALLBACK test_notify_build_complete( cl_program program, void *userData ) in test_notify_build_complete()
49 cl_program program; in test_async_build()
/external/mesa3d/src/gallium/frontends/clover/api/
Dprogram.cpp43 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/OpenCL-CTS/test_common/harness/
DkernelHelpers.h67 cl_program *outProgram,
76 cl_program *outProgram,
85 cl_program *outProgram,
93 cl_program *outProgram,
101 cl_program *outProgram,
108 cl_program *outProgram,
DtypeWrappers.h59 clProgramWrapper( cl_program program ) { mProgram = program; } in clProgramWrapper()
62 clProgramWrapper & operator=( const cl_program &rhs ) { mProgram = rhs; return *this; }
63 operator cl_program() const { return mProgram; } in cl_program() function
65 cl_program * operator&() { return &mProgram; }
67 bool operator==( const cl_program &rhs ) { return mProgram == rhs; }
71 cl_program mProgram;
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/
Dopencl_wrapper.h154 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 …]
Dcl_program.cc32 std::string GetProgramBuildInfo(cl_program program, cl_device_id id, in GetProgramBuildInfo()
52 Status GetBinarySize(cl_program program, size_t* binary_size) { in GetBinarySize()
62 Status BuildProgram(cl_program program, const CLDevice& device, in BuildProgram()
104 CLProgram::CLProgram(cl_program program, cl_device_id device_id) in CLProgram()
151 cl_program program = clCreateProgramWithSource(context.context(), 1, &source, in CreateCLProgram()
172 cl_program program = clCreateProgramWithBinary( in CreateCLProgramFromBinary()
Dcl_program.h52 CLProgram(cl_program program, cl_device_id device_id);
62 cl_program program() const { return program_; } in program()
75 cl_program program_ = nullptr;
/external/ImageMagick/MagickCore/
Dopencl-private.h136 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/OpenCL-CTS/test_conformance/api/
Dtest_create_kernels.cpp80 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()
500 cl_program local_program; in test_repeated_setup_cleanup()
Dtest_retain_program.cpp26 cl_program program; in test_release_kernel_order()
59 cl_program program; in test_release_during_execute()
/external/mesa3d/include/CL/
Dcl.h34 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 …]
Dcl_icd.h259 typedef CL_API_ENTRY cl_program(CL_API_CALL *cl_api_clCreateProgramWithSource)(
263 typedef CL_API_ENTRY 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/OpenCL-CTS/test_conformance/commonfns/
Dtest_degrees.cpp117 cl_program *program; in test_degrees()
126 program = (cl_program*)malloc(sizeof(cl_program)*kTotalVecCount); in test_degrees()
345 cl_program *program; in test_degrees_double()
354 program = (cl_program*)malloc(sizeof(cl_program)*kTotalVecCount); in test_degrees_double()
Dtest_radians.cpp118 cl_program *program; in test_radians()
127 program = (cl_program*)malloc(sizeof(cl_program)*kTotalVecCount); in test_radians()
346 cl_program *program; in test_radians_double()
356 program = (cl_program*)malloc(sizeof(cl_program)*kTotalVecCount); in test_radians_double()
Dtest_fmax.cpp89 cl_program *program; in test_fmax()
98 program = (cl_program*)malloc(sizeof(cl_program)*kTotalVecCount); in test_fmax()
Dtest_fmaxf.cpp95 cl_program *program; in test_fmaxf()
104 program = (cl_program*)malloc(sizeof(cl_program)*kTotalVecCount); in test_fmaxf()
Dtest_fmin.cpp94 cl_program *program; in test_fmin()
103 program = (cl_program*)malloc(sizeof(cl_program)*kTotalVecCount); in test_fmin()
Dtest_fminf.cpp90 cl_program *program; in test_fminf()
99 program = (cl_program*)malloc(sizeof(cl_program)*kTotalVecCount); in test_fminf()
/external/OpenCL-CTS/test_conformance/clcpp/utils_common/
Dkernel_helpers.hpp23 cl_program *out_program, in create_opencl_kernel()
37 cl_program *out_program, in create_opencl_kernel()
/external/OpenCL-CTS/test_conformance/math_brute_force/
DUtility.h100 int MakeKernel( const char **c, cl_uint count, const char *name, cl_kernel *k, cl_program *p );
101 …nst char **c, cl_uint count, const char *name, cl_uint kernel_count, cl_kernel *k, cl_program *p );
120 void _LogBuildError( cl_program p, int line, const char *file );

123456789