/external/tensorflow/tensorflow/lite/delegates/gpu/cl/ |
D | opencl_wrapper.h | 32 typedef cl_int(CL_API_CALL *PFN_clGetPlatformIDs)( 35 typedef cl_int(CL_API_CALL *PFN_clGetPlatformInfo)( 39 typedef cl_int(CL_API_CALL *PFN_clGetDeviceIDs)( 43 typedef cl_int(CL_API_CALL *PFN_clGetDeviceInfo)( 47 typedef cl_int(CL_API_CALL *PFN_clCreateSubDevices)( 52 typedef cl_int(CL_API_CALL *PFN_clRetainDevice)(cl_device_id /* device */) 54 typedef cl_int(CL_API_CALL *PFN_clReleaseDevice)(cl_device_id /* device */) 62 cl_int * /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0; 69 cl_int * /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0; 70 typedef cl_int(CL_API_CALL *PFN_clRetainContext)(cl_context /* context */) [all …]
|
/external/angle/src/libANGLE/ |
D | validationCL_autogen.h | 20 cl_int ValidateGetPlatformIDs(cl_uint num_entries, 23 cl_int ValidateGetPlatformInfo(cl_platform_id platform, 28 cl_int ValidateGetDeviceIDs(cl_platform_id platform, 33 cl_int ValidateGetDeviceInfo(cl_device_id device, 38 cl_int ValidateCreateContext(const cl_context_properties *properties, 46 cl_int ValidateCreateContextFromType(const cl_context_properties *properties, 53 cl_int ValidateRetainContext(cl_context context); 54 cl_int ValidateReleaseContext(cl_context context); 55 cl_int ValidateGetContextInfo(cl_context context, 60 cl_int ValidateRetainCommandQueue(cl_command_queue command_queue); [all …]
|
D | CLCommandQueue.h | 27 cl_int getInfo(CommandQueueInfo name, 32 cl_int setProperty(CommandQueueProperties properties, 36 cl_int enqueueReadBuffer(cl_mem buffer, 45 cl_int enqueueWriteBuffer(cl_mem buffer, 54 cl_int enqueueReadBufferRect(cl_mem buffer, 68 cl_int enqueueWriteBufferRect(cl_mem buffer, 82 cl_int enqueueCopyBuffer(cl_mem srcBuffer, 91 cl_int enqueueCopyBufferRect(cl_mem srcBuffer, 104 cl_int enqueueFillBuffer(cl_mem buffer, 121 cl_int &errorCode); [all …]
|
/external/angle/src/libGLESv2/ |
D | cl_stubs_autogen.h | 17 cl_int IcdGetPlatformIDsKHR(cl_uint num_entries, cl_platform_id *platforms, cl_uint *num_platforms); 18 cl_int GetPlatformIDs(cl_uint num_entries, cl_platform_id *platforms, cl_uint *num_platforms); 19 cl_int GetPlatformInfo(cl_platform_id platform, 24 cl_int GetDeviceIDs(cl_platform_id platform, 29 cl_int GetDeviceInfo(cl_device_id device, 34 cl_int CreateSubDevices(cl_device_id in_device, 39 cl_int RetainDevice(cl_device_id device); 40 cl_int ReleaseDevice(cl_device_id device); 41 cl_int SetDefaultDeviceCommandQueue(cl_context context, 44 cl_int GetDeviceAndHostTimer(cl_device_id device, [all …]
|
D | entry_points_cl_autogen.h | 20 cl_int CL_API_CALL clGetPlatformIDs(cl_uint num_entries, 23 cl_int CL_API_CALL clGetPlatformInfo(cl_platform_id platform, 28 cl_int CL_API_CALL clGetDeviceIDs(cl_platform_id platform, 33 cl_int CL_API_CALL clGetDeviceInfo(cl_device_id device, 46 cl_int *errcode_ret); 55 cl_int *errcode_ret); 56 cl_int CL_API_CALL clRetainContext(cl_context context); 57 cl_int CL_API_CALL clReleaseContext(cl_context context); 58 cl_int CL_API_CALL clGetContextInfo(cl_context context, 63 cl_int CL_API_CALL clRetainCommandQueue(cl_command_queue command_queue); [all …]
|
D | cl_stubs.cpp | 38 cl_int IcdGetPlatformIDsKHR(cl_uint num_entries, cl_platform_id *platforms, cl_uint *num_platforms) in IcdGetPlatformIDsKHR() 43 cl_int GetPlatformIDs(cl_uint num_entries, cl_platform_id *platforms, cl_uint *num_platforms) in GetPlatformIDs() 48 cl_int GetPlatformInfo(cl_platform_id platform, in GetPlatformInfo() 58 cl_int GetDeviceIDs(cl_platform_id platform, in GetDeviceIDs() 68 cl_int GetDeviceInfo(cl_device_id device, in GetDeviceInfo() 78 cl_int CreateSubDevices(cl_device_id in_device, in CreateSubDevices() 88 cl_int RetainDevice(cl_device_id device) in RetainDevice() 98 cl_int ReleaseDevice(cl_device_id device) in ReleaseDevice() 108 cl_int SetDefaultDeviceCommandQueue(cl_context context, in SetDefaultDeviceCommandQueue() 116 cl_int GetDeviceAndHostTimer(cl_device_id device, in GetDeviceAndHostTimer() [all …]
|
/external/angle/include/CL/ |
D | cl_icd.h | 44 typedef cl_int(CL_API_CALL *cl_api_clGetPlatformIDs)( 48 typedef cl_int(CL_API_CALL *cl_api_clGetPlatformInfo)( 54 typedef cl_int(CL_API_CALL *cl_api_clGetDeviceIDs)( 58 typedef cl_int(CL_API_CALL *cl_api_clGetDeviceInfo)( 64 typedef cl_int(CL_API_CALL *cl_api_clCreateSubDevices)( 69 typedef cl_int(CL_API_CALL *cl_api_clRetainDevice)( 72 typedef cl_int(CL_API_CALL *cl_api_clReleaseDevice)( 88 void *user_data, cl_int *errcode_ret) CL_API_SUFFIX__VERSION_1_0; 93 void *user_data, cl_int *errcode_ret) CL_API_SUFFIX__VERSION_1_0; 95 typedef cl_int(CL_API_CALL *cl_api_clRetainContext)( [all …]
|
D | cl.h | 92 typedef cl_int cl_build_status; 946 extern CL_API_ENTRY cl_int CL_API_CALL 951 extern CL_API_ENTRY cl_int CL_API_CALL 959 extern CL_API_ENTRY cl_int CL_API_CALL 966 extern CL_API_ENTRY cl_int CL_API_CALL 975 extern CL_API_ENTRY cl_int CL_API_CALL 982 extern CL_API_ENTRY cl_int CL_API_CALL 985 extern CL_API_ENTRY cl_int CL_API_CALL 992 extern CL_API_ENTRY cl_int CL_API_CALL 997 extern CL_API_ENTRY cl_int CL_API_CALL [all …]
|
D | cl_ext.h | 57 extern CL_API_ENTRY cl_int CL_API_CALL clSetMemObjectDestructorAPPLE( cl_mem memobj, 100 extern CL_API_ENTRY cl_int CL_API_CALL 105 typedef cl_int 130 cl_int * errcode_ret); 136 cl_int * errcode_ret) CL_API_SUFFIX__VERSION_1_2; 178 extern CL_API_ENTRY cl_int CL_API_CALL 181 typedef cl_int 207 cl_int* errcode_ret) CL_API_SUFFIX__VERSION_1_2; 213 … cl_int* errcode_ret) CL_API_SUFFIX__VERSION_1_2; 270 extern CL_API_ENTRY cl_int CL_API_CALL [all …]
|
/external/mesa3d/include/CL/ |
D | cl_icd.h | 44 typedef CL_API_ENTRY cl_int(CL_API_CALL *cl_api_clGetPlatformIDs)( 48 typedef CL_API_ENTRY cl_int(CL_API_CALL *cl_api_clGetPlatformInfo)( 54 typedef CL_API_ENTRY cl_int(CL_API_CALL *cl_api_clGetDeviceIDs)( 58 typedef CL_API_ENTRY cl_int(CL_API_CALL *cl_api_clGetDeviceInfo)( 64 typedef CL_API_ENTRY cl_int(CL_API_CALL *cl_api_clCreateSubDevices)( 69 typedef CL_API_ENTRY cl_int(CL_API_CALL *cl_api_clRetainDevice)( 72 typedef CL_API_ENTRY cl_int(CL_API_CALL *cl_api_clReleaseDevice)( 88 void *user_data, cl_int *errcode_ret) CL_API_SUFFIX__VERSION_1_0; 93 void *user_data, cl_int *errcode_ret) CL_API_SUFFIX__VERSION_1_0; 95 typedef CL_API_ENTRY cl_int(CL_API_CALL *cl_api_clRetainContext)( [all …]
|
D | cl.h | 92 typedef cl_int cl_build_status; 944 extern CL_API_ENTRY cl_int CL_API_CALL 949 extern CL_API_ENTRY cl_int CL_API_CALL 957 extern CL_API_ENTRY cl_int CL_API_CALL 964 extern CL_API_ENTRY cl_int CL_API_CALL 973 extern CL_API_ENTRY cl_int CL_API_CALL 980 extern CL_API_ENTRY cl_int CL_API_CALL 983 extern CL_API_ENTRY cl_int CL_API_CALL 990 extern CL_API_ENTRY cl_int CL_API_CALL 995 extern CL_API_ENTRY cl_int CL_API_CALL [all …]
|
D | cl_ext_intel.h | 175 cl_int* errcode_ret) CL_EXT_SUFFIX__VERSION_1_2; 182 cl_int* errcode_ret) CL_EXT_SUFFIX__VERSION_1_2; 184 extern CL_API_ENTRY cl_int CL_API_CALL 192 typedef CL_API_ENTRY cl_int (CL_API_CALL *clGetAcceleratorInfoINTEL_fn)( 199 extern CL_API_ENTRY cl_int CL_API_CALL 203 typedef CL_API_ENTRY cl_int (CL_API_CALL *clRetainAcceleratorINTEL_fn)( 206 extern CL_API_ENTRY cl_int CL_API_CALL 210 typedef CL_API_ENTRY cl_int (CL_API_CALL *clReleaseAcceleratorINTEL_fn)( 481 cl_int* errcode_ret); 489 cl_int* errcode_ret); [all …]
|
/external/OpenCL-CTS/test_conformance/mem_host_flags/ |
D | checker_image_mem_host_read_only.hpp | 48 cl_int get_image_elements(); 54 virtual cl_int SetupImage(); 55 virtual cl_int SetupBuffer(); 56 virtual cl_int verify_RW_Image(); 58 virtual cl_int verify_RW_Image_Mapping(); 59 virtual cl_int verify_data(T *pdtaIn); 60 virtual cl_int verify_data_with_offset(T *pdtaIn, size_t *offset); 62 cl_int get_image_content_size(); 63 cl_int get_image_data_size(); 65 virtual cl_int verify_RW_Buffer(); [all …]
|
/external/OpenCL-CTS/test_conformance/device_execution/ |
D | enqueue_wg_size.cpp | 65 static int check_single(cl_int* results, cl_int len, cl_int nesting_level) in check_single() 118 …erate_reference_results_some_eq_1D(std::vector<cl_int> &referenceResults, cl_int maxGlobalWorkSize… in generate_reference_results_some_eq_1D() 136 static int check_some_eq_1D(cl_int* results, cl_int len, cl_int nesting_level) in check_some_eq_1D() 138 std::vector<cl_int> referenceResults(len, 0); in check_some_eq_1D() 189 …ate_reference_results_some_diff_1D(std::vector<cl_int> &referenceResults, cl_int maxGlobalWorkSize… in generate_reference_results_some_diff_1D() 210 static int check_some_diff_1D(cl_int* results, cl_int maxGlobalWorkSize, cl_int nesting_level) in check_some_diff_1D() 212 std::vector<cl_int> referenceResults(maxGlobalWorkSize, 0); in check_some_diff_1D() 257 void generate_reference_results_all_eq_1D(std::vector<cl_int> &referenceResults, cl_int len, cl_int… in generate_reference_results_all_eq_1D() 272 static int check_all_eq_1D(cl_int* results, cl_int len, cl_int nesting_level) in check_all_eq_1D() 274 std::vector<cl_int> referenceResults(len, 0); in check_all_eq_1D() [all …]
|
D | nested_blocks.cpp | 168 static int check_single(cl_int* results, cl_int len, cl_int nesting_level) in check_single() 181 void generate_reference_some_eq(std::vector<cl_int> &referenceResults, cl_int len, cl_int nesting_l… in generate_reference_some_eq() 196 static int check_some_eq(cl_int* results, cl_int len, cl_int nesting_level) in check_some_eq() 199 std::vector<cl_int> referenceResults(len, 0); in check_some_eq() 210 void generate_reference_some_diff(std::vector<cl_int> &referenceResults, cl_int len, cl_int nesting… in generate_reference_some_diff() 228 static int check_some_diff(cl_int* results, cl_int len, cl_int nesting_level) in check_some_diff() 231 std::vector<cl_int> referenceResults(len, 0); in check_some_diff() 242 void generate_reference_all_eq(std::vector<cl_int> &referenceResults, cl_int len, cl_int nesting_le… in generate_reference_all_eq() 254 static int check_all_eq(cl_int* results, cl_int len, cl_int nesting_level) in check_all_eq() 257 std::vector<cl_int> referenceResults(len, 0); in check_all_eq() [all …]
|
/external/angle/src/libOpenCL/ |
D | libOpenCL_autogen.cpp | 15 cl_int CL_API_CALL clGetPlatformIDs(cl_uint num_entries, in clGetPlatformIDs() 22 cl_int CL_API_CALL clGetPlatformInfo(cl_platform_id platform, in clGetPlatformInfo() 32 cl_int CL_API_CALL clGetDeviceIDs(cl_platform_id platform, in clGetDeviceIDs() 42 cl_int CL_API_CALL clGetDeviceInfo(cl_device_id device, in clGetDeviceInfo() 60 cl_int *errcode_ret) in clCreateContext() 74 cl_int *errcode_ret) in clCreateContextFromType() 80 cl_int CL_API_CALL clRetainContext(cl_context context) in clRetainContext() 85 cl_int CL_API_CALL clReleaseContext(cl_context context) in clReleaseContext() 90 cl_int CL_API_CALL clGetContextInfo(cl_context context, in clGetContextInfo() 100 cl_int CL_API_CALL clRetainCommandQueue(cl_command_queue command_queue) in clRetainCommandQueue() [all …]
|
/external/OpenCL-CTS/dependencies/ocl-headers/CL/ |
D | cl.h | 92 typedef cl_int cl_build_status; 946 extern CL_API_ENTRY cl_int CL_API_CALL 951 extern CL_API_ENTRY cl_int CL_API_CALL 959 extern CL_API_ENTRY cl_int CL_API_CALL 966 extern CL_API_ENTRY cl_int CL_API_CALL 975 extern CL_API_ENTRY cl_int CL_API_CALL 982 extern CL_API_ENTRY cl_int CL_API_CALL 985 extern CL_API_ENTRY cl_int CL_API_CALL 992 extern CL_API_ENTRY cl_int CL_API_CALL 997 extern CL_API_ENTRY cl_int CL_API_CALL [all …]
|
D | cl_ext.h | 57 extern CL_API_ENTRY cl_int CL_API_CALL clSetMemObjectDestructorAPPLE( cl_mem memobj, 100 extern CL_API_ENTRY cl_int CL_API_CALL 105 typedef cl_int 130 cl_int * errcode_ret); 136 cl_int * errcode_ret) CL_API_SUFFIX__VERSION_1_2; 178 extern CL_API_ENTRY cl_int CL_API_CALL 181 typedef cl_int 207 cl_int* errcode_ret) CL_API_SUFFIX__VERSION_1_2; 213 … cl_int* errcode_ret) CL_API_SUFFIX__VERSION_1_2; 270 extern CL_API_ENTRY cl_int CL_API_CALL [all …]
|
/external/OpenCL-CTS/test_conformance/events/ |
D | action_classes.h | 32 …virtual cl_int Setup( cl_device_id device, cl_context context, cl_command_queue queue ) = 0; 33 …virtual cl_int Execute( cl_command_queue queue, cl_uint numWaits, cl_event *waits, cl_event… 39 … cl_int IGetPreferredImageSize2D( cl_device_id device, size_t &outWidth, size_t &outHeight ); 40 …cl_int IGetPreferredImageSize3D( cl_device_id device, size_t &outWidth, size_t &outHeight, size… 55 virtual cl_int Setup( cl_device_id device, cl_context context, cl_command_queue queue ); 56 …virtual cl_int Execute( cl_command_queue queue, cl_uint numWaits, cl_event *waits, cl_event *ou… 72 …virtual cl_int Setup( cl_device_id device, cl_context context, cl_command_queue queue, bool alloca… 81 virtual cl_int Setup( cl_device_id device, cl_context context, cl_command_queue queue ); 82 …virtual cl_int Execute( cl_command_queue queue, cl_uint numWaits, cl_event *waits, cl_event *ou… 93 virtual cl_int Setup( cl_device_id device, cl_context context, cl_command_queue queue ); [all …]
|
D | action_classes.cpp | 22 cl_int Action::IGetPreferredImageSize2D( cl_device_id device, size_t &outWidth, size_t &outHeigh… in IGetPreferredImageSize2D() 26 cl_int error; in IGetPreferredImageSize2D() 66 cl_int Action::IGetPreferredImageSize3D( cl_device_id device, size_t &outWidth, size_t &outHeigh… in IGetPreferredImageSize3D() 70 cl_int error; in IGetPreferredImageSize3D() 122 cl_int NDRangeKernelAction::Setup( cl_device_id device, cl_context context, cl_command_queue queue ) in Setup() 152 sizeof(cl_int) * 1000, NULL, &error); in Setup() 164 cl_int NDRangeKernelAction::Execute( cl_command_queue queue, cl_uint numWaits, cl_event *waits, … in Execute() 167 …cl_int error = clEnqueueNDRangeKernel( queue, mKernel, 1, NULL, threads, mLocalThreads, numWaits, … in Execute() 175 cl_int BufferAction::Setup( cl_device_id device, cl_context context, cl_command_queue queue, bool a… in Setup() 177 cl_int error; in Setup() [all …]
|
/external/ImageMagick/MagickCore/ |
D | opencl-private.h | 66 typedef CL_API_ENTRY cl_int 70 typedef CL_API_ENTRY cl_int 77 typedef CL_API_ENTRY cl_int 82 typedef CL_API_ENTRY cl_int 93 const void *,size_t,void *),void *user_data,cl_int *errcode_ret) 96 typedef CL_API_ENTRY cl_int 105 cl_int *errcode_ret) CL_API_SUFFIX__VERSION_1_0; 107 typedef CL_API_ENTRY cl_int 111 typedef CL_API_ENTRY cl_int 115 typedef CL_API_ENTRY cl_int [all …]
|
/external/OpenCL-CTS/test_conformance/atomics/ |
D | test_indexed_cases.cpp | 67 counter = clCreateBuffer(context, CL_MEM_READ_WRITE, sizeof(cl_int) * 1, in test_atomic_add_index() 72 sizeof(cl_int) * numGlobalThreads, NULL, NULL); in test_atomic_add_index() 75 cl_int *values = (cl_int*) malloc(sizeof(cl_int)*numGlobalThreads); in test_atomic_add_index() 85 …err = clEnqueueWriteBuffer(queue, counters, true, 0, numGlobalThreads*sizeof(cl_int), values, 0, N… in test_atomic_add_index() 86 err |= clEnqueueWriteBuffer(queue, counter, true, 0,1*sizeof(cl_int), &init, 0, NULL, NULL); in test_atomic_add_index() 102 …err = clEnqueueReadBuffer( queue, counters, true, 0, sizeof(cl_int)*numGlobalThreads, values, 0, N… in test_atomic_add_index() 180 sizeof(cl_int) * number_of_bins, NULL, NULL); in add_index_bin_test() 183 sizeof(cl_int) * number_of_bins * max_counts_per_bin, NULL, NULL); in add_index_bin_test() 186 sizeof(cl_int) * number_of_items, NULL, NULL); in add_index_bin_test() 202 cl_int *l_bin_counts = (cl_int*)malloc(sizeof(cl_int)*number_of_bins); in add_index_bin_test() [all …]
|
/external/angle/src/libANGLE/renderer/ |
D | CLCommandQueueImpl.h | 24 virtual cl_int setProperty(cl::CommandQueueProperties properties, cl_bool enable) = 0; 26 virtual cl_int enqueueReadBuffer(const cl::Buffer &buffer, 34 virtual cl_int enqueueWriteBuffer(const cl::Buffer &buffer, 42 virtual cl_int enqueueReadBufferRect(const cl::Buffer &buffer, 55 virtual cl_int enqueueWriteBufferRect(const cl::Buffer &buffer, 68 virtual cl_int enqueueCopyBuffer(const cl::Buffer &srcBuffer, 76 virtual cl_int enqueueCopyBufferRect(const cl::Buffer &srcBuffer, 88 virtual cl_int enqueueFillBuffer(const cl::Buffer &buffer, 103 cl_int &errorCode) = 0; 105 virtual cl_int enqueueReadImage(const cl::Image &image, [all …]
|
/external/angle/src/libANGLE/renderer/cl/ |
D | CLCommandQueueCL.h | 25 cl_int setProperty(cl::CommandQueueProperties properties, cl_bool enable) override; 27 cl_int enqueueReadBuffer(const cl::Buffer &buffer, 35 cl_int enqueueWriteBuffer(const cl::Buffer &buffer, 43 cl_int enqueueReadBufferRect(const cl::Buffer &buffer, 56 cl_int enqueueWriteBufferRect(const cl::Buffer &buffer, 69 cl_int enqueueCopyBuffer(const cl::Buffer &srcBuffer, 77 cl_int enqueueCopyBufferRect(const cl::Buffer &srcBuffer, 89 cl_int enqueueFillBuffer(const cl::Buffer &buffer, 104 cl_int &errorCode) override; 106 cl_int enqueueReadImage(const cl::Image &image, [all …]
|
/external/OpenCL-CTS/test_conformance/api/ |
D | test_native_kernel.cpp | 27 cl_int * source; in test_native_kernel_fn() 28 cl_int * dest; in test_native_kernel_fn() 29 cl_int count; in test_native_kernel_fn() 32 for( cl_int i = 0; i < args->count; i++ ) in test_native_kernel_fn() 50 cl_int inBuffer[ n_elems ], outBuffer[ n_elems ]; in test_native_kernel() 52 cl_int* inBuffer = (cl_int *)_malloca( n_elems * sizeof(cl_int) ); in test_native_kernel() 53 cl_int* outBuffer = (cl_int *)_malloca( n_elems * sizeof(cl_int) ); in test_native_kernel() 61 cl_int count; in test_native_kernel() 70 …streams[ 0 ] = clCreateBuffer( context, CL_MEM_COPY_HOST_PTR, n_elems * sizeof(cl_int), inBuffer, … in test_native_kernel() 72 streams[ 1 ] = clCreateBuffer( context, 0, n_elems * sizeof(cl_int), NULL, &error ); in test_native_kernel() [all …]
|