/external/tensorflow/tensorflow/lite/delegates/gpu/cl/ |
D | opencl_wrapper.h | 33 cl_uint /* num_entries */, cl_platform_id * /* platforms */, 34 cl_uint * /* num_platforms */) CL_API_SUFFIX__VERSION_1_0; 41 cl_uint /* num_entries */, cl_device_id * /* devices */, 42 cl_uint * /* num_devices */) CL_API_SUFFIX__VERSION_1_0; 50 cl_uint /* num_devices */, cl_device_id * /* out_devices */, 51 cl_uint * /* num_devices_ret */) CL_API_SUFFIX__VERSION_1_2; 57 const cl_context_properties * /* properties */, cl_uint /* num_devices */, 107 cl_uint /* pipe_packet_size */, cl_uint /* pipe_max_packets */, 116 cl_mem_object_type /* image_type */, cl_uint /* num_entries */, 118 cl_uint * /* num_image_formats */) CL_API_SUFFIX__VERSION_1_0; [all …]
|
/external/angle/include/CL/ |
D | cl_dx9_media_sharing.h | 31 typedef cl_uint cl_dx9_media_adapter_type_khr; 32 typedef cl_uint cl_dx9_media_adapter_set_khr; 81 cl_uint num_media_adapters, 85 cl_uint num_entries, 87 cl_uint * num_devices) CL_API_SUFFIX__VERSION_1_2; 94 …cl_uint plane, … 99 cl_uint num_objects, 101 cl_uint num_events_in_wait_list, 107 cl_uint num_objects, 109 cl_uint num_events_in_wait_list, [all …]
|
D | cl_icd.h | 45 cl_uint num_entries, cl_platform_id *platforms, 46 cl_uint *num_platforms) CL_API_SUFFIX__VERSION_1_0; 55 cl_platform_id platform, cl_device_type device_type, cl_uint num_entries, 56 cl_device_id *devices, cl_uint *num_devices) CL_API_SUFFIX__VERSION_1_0; 67 cl_uint num_entries, cl_device_id *out_devices, cl_uint *num_devices); 85 const cl_context_properties *properties, cl_uint num_devices, 187 cl_uint num_entries, cl_image_format *image_formats, 188 cl_uint *num_image_formats) CL_API_SUFFIX__VERSION_1_0; 202 cl_uint /* pipe_packet_size */, cl_uint /* pipe_max_packets */, 260 cl_context context, cl_uint count, const char **strings, [all …]
|
D | cl_va_api_media_sharing_intel.h | 60 typedef cl_uint cl_va_api_device_source_intel; 61 typedef cl_uint cl_va_api_device_set_intel; 69 cl_uint num_entries, 71 cl_uint* num_devices) CL_API_SUFFIX__VERSION_1_2; 78 cl_uint num_entries, 80 cl_uint* num_devices) CL_API_SUFFIX__VERSION_1_2; 87 cl_uint plane, 94 cl_uint plane, 100 cl_uint num_objects, 102 cl_uint num_events_in_wait_list, [all …]
|
D | cl_ext.h | 101 clIcdGetPlatformIDsKHR(cl_uint num_entries, 103 cl_uint * num_platforms); 106 (CL_API_CALL *clIcdGetPlatformIDsKHR_fn)(cl_uint num_entries, 108 cl_uint * num_platforms); 286 cl_uint num_entries, 288 cl_uint * num_devices) CL_API_SUFFIX__VERSION_1_1; 293 cl_uint num_entries, 295 cl_uint * num_devices) CL_API_SUFFIX__VERSION_1_1; 342 cl_uint num_mem_objects, 345 cl_uint num_events_in_wait_list, [all …]
|
D | cl.h | 39 typedef cl_uint cl_bool; /* WARNING! Unlike cl_ types in cl_platfo… 43 typedef cl_uint cl_platform_info; 44 typedef cl_uint cl_device_info; 46 typedef cl_uint cl_device_mem_cache_type; 47 typedef cl_uint cl_device_local_mem_type; 59 typedef cl_uint cl_context_info; 63 typedef cl_uint cl_command_queue_info; 64 typedef cl_uint cl_channel_order; 65 typedef cl_uint cl_channel_type; 70 typedef cl_uint cl_mem_object_type; [all …]
|
/external/angle/src/libANGLE/ |
D | validationCL_autogen.h | 20 cl_int ValidateGetPlatformIDs(cl_uint num_entries, 22 const cl_uint *num_platforms); 30 cl_uint num_entries, 32 const cl_uint *num_devices); 39 cl_uint num_devices, 76 cl_uint num_entries, 78 const cl_uint *num_image_formats); 97 cl_uint count, 101 cl_uint num_devices, 109 cl_uint num_devices, [all …]
|
D | CLCommandQueue.h | 41 cl_uint numEventsInWaitList, 50 cl_uint numEventsInWaitList, 64 cl_uint numEventsInWaitList, 78 cl_uint numEventsInWaitList, 87 cl_uint numEventsInWaitList, 100 cl_uint numEventsInWaitList, 109 cl_uint numEventsInWaitList, 118 cl_uint numEventsInWaitList, 130 cl_uint numEventsInWaitList, 141 cl_uint numEventsInWaitList, [all …]
|
/external/OpenCL-CTS/test_conformance/SVM/ |
D | test_byte_granularity.cpp | 59 cl_uint num_devices = 0; in test_svm_byte_granularity() 67 cl_uint num_devices_plus_host = num_devices + 1; in test_svm_byte_granularity() 77 cl_uint **error_counts = (cl_uint**) malloc(sizeof(void*) * num_devices); in test_svm_byte_granularity() 79 for(cl_uint i=0; i < num_devices; i++) { in test_svm_byte_granularity() 80 …error_counts[i] = (cl_uint*) clSVMAlloc(context, CL_MEM_READ_WRITE | CL_MEM_SVM_FINE_GRAIN_BUFFER,… in test_svm_byte_granularity() 86 err |= clSetKernelArg(k1, 1, sizeof(cl_uint), &num_devices_plus_host); in test_svm_byte_granularity() 91 for(cl_uint d=0; d < num_devices; d++) // device ids starting at 1. in test_svm_byte_granularity() 93 err = clSetKernelArg(k1, 2, sizeof(cl_uint), &d); in test_svm_byte_granularity() 99 for(cl_uint d=0; d < num_devices; d++) clFlush(queues[d]); in test_svm_byte_granularity() 101 cl_uint host_id = num_devices; // host code will take the id above the devices. in test_svm_byte_granularity() [all …]
|
D | test_fine_grain_memory_consistency.cpp | 48 cl_uint value; 52 …hash_table_on_host(cl_context c, cl_uint* input, size_t inputSize, BinNode* pNodes, cl_int volatil… in build_hash_table_on_host() 54 for(cl_uint i = 0; i < inputSize; i++) in build_hash_table_on_host() 57 cl_uint b = input[i] % numBins; in build_hash_table_on_host() 68 …text, clCommandQueueWrapper* queues, clKernelWrapper &kernel, cl_uint num_devices, cl_uint numBins… in launch_kernels_and_verify() 71 …cl_uint *pInputImage = (cl_uint*) clSVMAlloc(context, CL_MEM_READ_ONLY | CL_MEM_SVM_FINE_GRAIN_BU… in launch_kernels_and_verify() 76 for(cl_uint i=0;i<numBins;i++) { in launch_kernels_and_verify() 80 for(cl_uint i=0; i < num_pixels; i++) pInputImage[i] = i; in launch_kernels_and_verify() 85 err |= clSetKernelArg(kernel, 3, sizeof(cl_uint), (void*) &numBins); in launch_kernels_and_verify() 91 for(cl_uint d=0; d<num_devices; d++) in launch_kernels_and_verify() [all …]
|
D | test_migrate.cpp | 32 fill_buffer(cl_uint* p, size_t n, MTdata seed) in fill_buffer() 35 p[i] = (cl_uint)genrand_int32(seed); in fill_buffer() 39 check(const char* s, cl_uint* a, cl_uint* e, size_t n) in check() 78 cl_uint amem[GLOBAL_SIZE]; in test_svm_migrate() 79 cl_uint bmem[GLOBAL_SIZE]; in test_svm_migrate() 80 cl_uint cmem[GLOBAL_SIZE]; in test_svm_migrate() 81 cl_uint ramem[GLOBAL_SIZE]; in test_svm_migrate() 82 cl_uint rbmem[GLOBAL_SIZE]; in test_svm_migrate() 83 cl_uint rcmem[GLOBAL_SIZE]; in test_svm_migrate() 92 cl_uint num_devices = 0; in test_svm_migrate() [all …]
|
/external/mesa3d/src/gallium/frontends/clover/api/ |
D | device.cpp | 32 cl_uint num_entries, cl_device_id *rd_devices, in clGetDeviceIDs() 33 cl_uint *rnum_devices) try { in clGetDeviceIDs() 69 cl_uint num_devs, cl_device_id *rd_devs, in clCreateSubDevices() 70 cl_uint *rnum_devs) { in clCreateSubDevices() 109 buf.as_scalar<cl_uint>() = dev.vendor_id(); in clGetDeviceInfo() 113 buf.as_scalar<cl_uint>() = dev.max_compute_units(); in clGetDeviceInfo() 117 buf.as_scalar<cl_uint>() = dev.max_block_size().size(); in clGetDeviceInfo() 129 buf.as_scalar<cl_uint>() = 16; in clGetDeviceInfo() 133 buf.as_scalar<cl_uint>() = 8; in clGetDeviceInfo() 137 buf.as_scalar<cl_uint>() = 4; in clGetDeviceInfo() [all …]
|
/external/OpenCL-CTS/dependencies/ocl-headers/CL/ |
D | cl_ext.h | 101 clIcdGetPlatformIDsKHR(cl_uint num_entries, 103 cl_uint * num_platforms); 106 (CL_API_CALL *clIcdGetPlatformIDsKHR_fn)(cl_uint num_entries, 108 cl_uint * num_platforms); 286 cl_uint num_entries, 288 cl_uint * num_devices) CL_API_SUFFIX__VERSION_1_1; 293 cl_uint num_entries, 295 cl_uint * num_devices) CL_API_SUFFIX__VERSION_1_1; 342 cl_uint num_mem_objects, 345 cl_uint num_events_in_wait_list, [all …]
|
D | cl.h | 39 typedef cl_uint cl_bool; /* WARNING! Unlike cl_ types in cl_platfo… 43 typedef cl_uint cl_platform_info; 44 typedef cl_uint cl_device_info; 46 typedef cl_uint cl_device_mem_cache_type; 47 typedef cl_uint cl_device_local_mem_type; 59 typedef cl_uint cl_context_info; 63 typedef cl_uint cl_command_queue_info; 64 typedef cl_uint cl_channel_order; 65 typedef cl_uint cl_channel_type; 70 typedef cl_uint cl_mem_object_type; [all …]
|
/external/mesa3d/include/CL/ |
D | cl_va_api_media_sharing_intel.h | 96 typedef cl_uint cl_va_api_device_source_intel; 97 typedef cl_uint cl_va_api_device_set_intel; 105 cl_uint num_entries, 107 cl_uint* num_devices) CL_EXT_SUFFIX__VERSION_1_2; 114 cl_uint num_entries, 116 cl_uint* num_devices) CL_EXT_SUFFIX__VERSION_1_2; 123 cl_uint plane, 130 cl_uint plane, 136 cl_uint num_objects, 138 cl_uint num_events_in_wait_list, [all …]
|
D | cl_icd.h | 45 cl_uint num_entries, cl_platform_id *platforms, 46 cl_uint *num_platforms) CL_API_SUFFIX__VERSION_1_0; 55 cl_platform_id platform, cl_device_type device_type, cl_uint num_entries, 56 cl_device_id *devices, cl_uint *num_devices) CL_API_SUFFIX__VERSION_1_0; 67 cl_uint num_entries, cl_device_id *out_devices, cl_uint *num_devices); 85 const cl_context_properties *properties, cl_uint num_devices, 187 cl_uint num_entries, cl_image_format *image_formats, 188 cl_uint *num_image_formats) CL_API_SUFFIX__VERSION_1_0; 202 cl_uint /* pipe_packet_size */, cl_uint /* pipe_max_packets */, 260 cl_context context, cl_uint count, const char **strings, [all …]
|
D | cl.h | 39 typedef cl_uint cl_bool; /* WARNING! Unlike cl_ types in cl_platfo… 43 typedef cl_uint cl_platform_info; 44 typedef cl_uint cl_device_info; 46 typedef cl_uint cl_device_mem_cache_type; 47 typedef cl_uint cl_device_local_mem_type; 59 typedef cl_uint cl_context_info; 63 typedef cl_uint cl_command_queue_info; 64 typedef cl_uint cl_channel_order; 65 typedef cl_uint cl_channel_type; 70 typedef cl_uint cl_mem_object_type; [all …]
|
D | cl_ext.h | 101 clIcdGetPlatformIDsKHR(cl_uint num_entries, 103 cl_uint * num_platforms); 106 (CL_API_CALL *clIcdGetPlatformIDsKHR_fn)(cl_uint num_entries, 108 cl_uint * num_platforms); 286 cl_uint num_entries, 288 cl_uint * num_devices) CL_EXT_SUFFIX__VERSION_1_1; 293 cl_uint num_entries, 295 cl_uint * num_devices) CL_EXT_SUFFIX__VERSION_1_1; 342 cl_uint num_mem_objects, 345 cl_uint num_events_in_wait_list, [all …]
|
D | cl_dx9_media_sharing_intel.h | 72 typedef cl_uint cl_dx9_device_source_intel; 73 typedef cl_uint cl_dx9_device_set_intel; 113 cl_uint num_entries, 115 cl_uint* num_devices) CL_EXT_SUFFIX__VERSION_1_1; 122 cl_uint num_entries, 124 cl_uint* num_devices) CL_EXT_SUFFIX__VERSION_1_1; 146 cl_uint num_objects, 148 cl_uint num_events_in_wait_list, 154 cl_uint num_objects, 156 cl_uint num_events_in_wait_list, [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); 26 cl_uint num_entries, 28 cl_uint *num_devices); 36 cl_uint num_devices, 38 cl_uint *num_devices_ret); 49 cl_uint num_devices, 118 cl_uint pipe_packet_size, 119 cl_uint pipe_max_packets, 127 cl_uint num_entries, [all …]
|
D | entry_points_cl_autogen.h | 20 cl_int CL_API_CALL clGetPlatformIDs(cl_uint num_entries, 22 cl_uint *num_platforms); 30 cl_uint num_entries, 32 cl_uint *num_devices); 39 cl_uint num_devices, 80 cl_uint num_entries, 82 cl_uint *num_image_formats); 101 cl_uint count, 106 cl_uint num_devices, 115 cl_uint num_devices, [all …]
|
/external/OpenCL-CTS/test_common/harness/ |
D | mt19937.cpp | 60 #define MATRIX_A (cl_uint)0x9908b0dfUL /* constant vector a */ 61 #define UPPER_MASK (cl_uint)0x80000000UL /* most significant w-r bits */ 62 #define LOWER_MASK (cl_uint)0x7fffffffUL /* least significant r bits */ 66 cl_uint mt[N]; 68 cl_uint cache[N]; 74 MTdata init_genrand(cl_uint s) in init_genrand() 79 cl_uint *mt = r->mt; in init_genrand() 84 mt[mti] = (cl_uint)( in init_genrand() 105 cl_uint genrand_int32(MTdata d) in genrand_int32() 108 static const cl_uint mag01[2] = { 0x0UL, MATRIX_A }; in genrand_int32() [all …]
|
/external/OpenCL-CTS/test_conformance/thread_dimensions/ |
D | test_thread_dimensions.cpp | 39 cl_uint i; in get_maximums() 217 print_dimensions(size_t x, size_t y, size_t z, cl_uint dim) { in print_dimensions() 233 print_dimensions2(size_t x, size_t y, size_t z, cl_uint dim) { in print_dimensions2() 255 …text, cl_command_queue queue, cl_kernel kernel, cl_mem array, cl_uint memory_size, cl_uint dimensi… in run_test() 256 cl_uint final_x_size, cl_uint final_y_size, cl_uint final_z_size, in run_test() 257 cl_uint local_x_size, cl_uint local_y_size, cl_uint local_z_size, in run_test() 260 cl_uint errors = 0; in run_test() 268 …ory_address = (cl_ulong)final_x_size*(cl_ulong)final_y_size*(cl_ulong)final_z_size*sizeof(cl_uint); in run_test() 295 cl_ulong start_valid_index = start_valid_memory_address/sizeof(cl_uint); in run_test() 296 cl_ulong end_valid_index = end_valid_memory_address/sizeof(cl_uint); in run_test() [all …]
|
/external/OpenCL-CTS/test_conformance/basic/ |
D | test_arraycopy.cpp | 37 cl_uint *input_ptr, *output_ptr; in test_arraycopy() 42 cl_uint num_copies = 1; in test_arraycopy() 50 input_ptr = (cl_uint*)malloc(sizeof(cl_uint) * num_elements); in test_arraycopy() 51 output_ptr = (cl_uint*)malloc(sizeof(cl_uint) * num_elements); in test_arraycopy() 55 sizeof(cl_uint) * num_elements, NULL, &err); in test_arraycopy() 65 input_ptr[i] = (cl_uint)(genrand_int32(d) & 0x7FFFFFFF); in test_arraycopy() 70 sizeof(cl_uint) * num_elements, input_ptr, &err); in test_arraycopy() 73 delta_offset = num_elements * sizeof(cl_uint) / num_copies; in test_arraycopy() 82 …err = clEnqueueReadBuffer( queue, results, CL_TRUE, 0, num_elements*sizeof(cl_uint), output_ptr, 0… in test_arraycopy() 106 input_ptr[i] = (cl_uint)(genrand_int32(d) & 0x7FFFFFFF); in test_arraycopy() [all …]
|
D | test_arrayreadwrite.cpp | 31 cl_uint *inptr, *outptr; in test_arrayreadwrite() 38 inptr = (cl_uint*)malloc(num_elements*sizeof(cl_uint)); in test_arrayreadwrite() 39 outptr = (cl_uint*)malloc(num_elements*sizeof(cl_uint)); in test_arrayreadwrite() 44 inptr[i] = (cl_uint)(genrand_int32(d) & 0x7FFFFFFF); in test_arrayreadwrite() 47 sizeof(cl_uint) * num_elements, NULL, &err); in test_arrayreadwrite() 64 … clEnqueueWriteBuffer(queue, streams[0], CL_TRUE, offset*sizeof(cl_uint), sizeof(cl_uint)*cb,&inpt… in test_arrayreadwrite() 67 …clEnqueueReadBuffer( queue, streams[0], CL_TRUE, offset*sizeof(cl_uint), cb*sizeof(cl_uint), &outp… in test_arrayreadwrite()
|