Home
last modified time | relevance | path

Searched refs:clGetDeviceInfo (Results 1 – 25 of 204) sorted by relevance

123456789

/external/OpenCL-CTS/test_conformance/device_execution/
Ddevice_info.cpp39 err_ret = clGetDeviceInfo(device, CL_DEVICE_PROFILE, sizeof(profile), profile, &ret_len); in test_device_info()
49 …err_ret = clGetDeviceInfo(device, CL_DEVICE_QUEUE_ON_HOST_PROPERTIES, sizeof(properties), &propert… in test_device_info()
57 …err_ret = clGetDeviceInfo(device, CL_DEVICE_QUEUE_ON_DEVICE_PROPERTIES, sizeof(properties), &prope… in test_device_info()
70 …err_ret = clGetDeviceInfo(device, CL_DEVICE_QUEUE_ON_DEVICE_PREFERRED_SIZE, sizeof(size), &size, &… in test_device_info()
78 …err_ret = clGetDeviceInfo(device, CL_DEVICE_QUEUE_ON_DEVICE_MAX_SIZE, sizeof(size), &size, &ret_le… in test_device_info()
86 … err_ret = clGetDeviceInfo(device, CL_DEVICE_MAX_ON_DEVICE_QUEUES, sizeof(size), &size, &ret_len); in test_device_info()
94 … err_ret = clGetDeviceInfo(device, CL_DEVICE_MAX_ON_DEVICE_EVENTS, sizeof(size), &size, &ret_len); in test_device_info()
/external/OpenCL-CTS/test_conformance/api/
Dtest_api_consistency.cpp40 error = clGetDeviceInfo(deviceID, CL_DEVICE_SVM_CAPABILITIES, in test_consistency_svm()
208 error = clGetDeviceInfo(deviceID, CL_DEVICE_ATOMIC_MEMORY_CAPABILITIES, in test_consistency_memory_model()
221 error = clGetDeviceInfo(deviceID, CL_DEVICE_ATOMIC_FENCE_CAPABILITIES, in test_consistency_memory_model()
247 error = clGetDeviceInfo(deviceID, CL_DEVICE_DEVICE_ENQUEUE_CAPABILITIES, in test_consistency_device_enqueue()
258 error = clGetDeviceInfo(deviceID, CL_DEVICE_QUEUE_ON_DEVICE_PROPERTIES, in test_consistency_device_enqueue()
278 clGetDeviceInfo(deviceID, CL_DEVICE_QUEUE_ON_DEVICE_PREFERRED_SIZE, in test_consistency_device_enqueue()
287 error = clGetDeviceInfo(deviceID, CL_DEVICE_QUEUE_ON_DEVICE_MAX_SIZE, in test_consistency_device_enqueue()
295 error = clGetDeviceInfo(deviceID, CL_DEVICE_MAX_ON_DEVICE_QUEUES, in test_consistency_device_enqueue()
303 error = clGetDeviceInfo(deviceID, CL_DEVICE_MAX_ON_DEVICE_EVENTS, in test_consistency_device_enqueue()
371 error = clGetDeviceInfo(deviceID, in test_consistency_device_enqueue()
[all …]
Dtest_api_min_max.cpp121 …error = clGetDeviceInfo( deviceID, CL_DEVICE_MAX_WORK_ITEM_DIMENSIONS, sizeof( maxThreadDim ), &ma… in test_min_max_thread_dimensions()
192 …error = clGetDeviceInfo( deviceID, CL_DEVICE_MAX_WORK_ITEM_DIMENSIONS, sizeof( maxWorkItemDim ), &… in test_min_max_work_items_sizes()
197 …error = clGetDeviceInfo( deviceID, CL_DEVICE_MAX_WORK_ITEM_SIZES, sizeof(size_t)*maxWorkItemDim, d… in test_min_max_work_items_sizes()
226 …error = clGetDeviceInfo( deviceID, CL_DEVICE_MAX_WORK_GROUP_SIZE, sizeof( deviceMaxThreadSize ), &… in test_min_max_work_group_size()
265 …error = clGetDeviceInfo( deviceID, CL_DEVICE_MAX_READ_IMAGE_ARGS, sizeof( maxReadImages ), &maxRea… in test_min_max_read_image_args()
276 …error = clGetDeviceInfo( deviceID, CL_DEVICE_ADDRESS_BITS, sizeof( deviceAddressSize ), &deviceAdd… in test_min_max_read_image_args()
281 …error = clGetDeviceInfo( deviceID, CL_DEVICE_MAX_PARAMETER_SIZE, sizeof( maxParameterSize ), &maxP… in test_min_max_read_image_args()
286 … error = clGetDeviceInfo( deviceID, CL_DEVICE_TYPE, sizeof( deviceType ), &deviceType, NULL ); in test_min_max_read_image_args()
398 …error = clGetDeviceInfo( deviceID, CL_DEVICE_MAX_WRITE_IMAGE_ARGS, sizeof( maxWriteImages ), &maxW… in test_min_max_write_image_args()
415 …error = clGetDeviceInfo( deviceID, CL_DEVICE_MAX_PARAMETER_SIZE, sizeof( maxParameterSize ), &maxP… in test_min_max_write_image_args()
[all …]
Dtest_platform.cpp73 err = clGetDeviceInfo(deviceID, in test_platform_extensions()
118 err = clGetDeviceInfo(deviceID, in test_platform_extensions()
246 …err = clGetDeviceInfo(devices[d], CL_DEVICE_PLATFORM, sizeof(cl_platform_id), &returned_platform, … in test_get_platform_ids()
254 err = clGetDeviceInfo(devices[d], CL_DEVICE_NAME, 8192, string_returned, NULL); in test_get_platform_ids()
/external/OpenCL-CTS/test_conformance/half/
Dcl_utils.cpp79 …if( (error = clGetDeviceInfo( device, CL_DEVICE_MAX_COMPUTE_UNITS, configSize, &gComputeDevices, … in InitCL()
84 …if( (error = clGetDeviceInfo( device, CL_DEVICE_MAX_WORK_GROUP_SIZE, configSize, &gMaxThreadGroupS… in InitCL()
94 …if( (error = clGetDeviceInfo( device, CL_DEVICE_MAX_CLOCK_FREQUENCY, configSize, &gDeviceFrequency… in InitCL()
103 if( (error = clGetDeviceInfo( device, CL_DEVICE_PROFILE, sizeof(profile), profile, NULL ) ) ) in InitCL()
201 error = clGetDeviceInfo(device, CL_DEVICE_NAME, sizeof(string), string, NULL); in InitCL()
203 error = clGetDeviceInfo(device, CL_DEVICE_VENDOR, sizeof(string), string, NULL); in InitCL()
205 error = clGetDeviceInfo(device, CL_DEVICE_VERSION, sizeof(string), string, NULL); in InitCL()
207 error = clGetDeviceInfo(device, CL_DEVICE_OPENCL_C_VERSION, sizeof(string), string, NULL); in InitCL()
209 error = clGetDeviceInfo(device, CL_DRIVER_VERSION, sizeof(string), string, NULL); in InitCL()
392 cl_int err = clGetDeviceInfo (device_id, in getBufferSize()
[all …]
/external/OpenCL-CTS/test_common/harness/
DkernelHelpers.cpp491 clGetDeviceInfo(device, CL_DEVICE_ADDRESS_BITS, sizeof(cl_uint), in get_device_address_bits()
626 error = clGetDeviceInfo(device, CL_DEVICE_PLATFORM, in create_single_kernel_helper_create_program_offline()
867 error = clGetDeviceInfo(devices[z], CL_DEVICE_NAME, sizeof(deviceName), in build_program_create_kernel_helper()
1008 error = clGetDeviceInfo(devices[i], CL_DEVICE_MAX_WORK_GROUP_SIZE, in get_max_allowed_work_group_size()
1021 error = clGetDeviceInfo(devices[i], CL_DEVICE_MAX_WORK_ITEM_DIMENSIONS, in get_max_allowed_work_group_size()
1027 error = clGetDeviceInfo(devices[i], CL_DEVICE_MAX_WORK_ITEM_SIZES, in get_max_allowed_work_group_size()
1068 error = clGetDeviceInfo(device, CL_DEVICE_MAX_WORK_ITEM_DIMENSIONS, in get_max_allowed_1d_work_group_size_on_device()
1079 error = clGetDeviceInfo(device, CL_DEVICE_MAX_WORK_ITEM_SIZES, in get_max_allowed_1d_work_group_size_on_device()
1356 clGetDeviceInfo(device, CL_DEVICE_IMAGE_SUPPORT, sizeof(i), &i, NULL); in checkForImageSupport()
1374 clGetDeviceInfo(device, CL_DEVICE_IMAGE_SUPPORT, sizeof(i), &i, NULL); in checkFor3DImageSupport()
[all …]
DtestHarness.cpp397 err = clGetDeviceInfo(device, CL_DEVICE_TYPE, sizeof(gDeviceType), in runTestHarnessWithCheck()
411 err = clGetDeviceInfo(device, CL_DEVICE_SINGLE_FP_CONFIG, sizeof(fpconfig), in runTestHarnessWithCheck()
427 err = clGetDeviceInfo(device, CL_DEVICE_PROFILE, sizeof(profile), profile, in runTestHarnessWithCheck()
438 err = clGetDeviceInfo(device, CL_DEVICE_SINGLE_FP_CONFIG, in runTestHarnessWithCheck()
459 if ((err = clGetDeviceInfo(device, CL_DEVICE_ADDRESS_BITS, in runTestHarnessWithCheck()
895 clGetDeviceInfo(d, CL_DEVICE_TYPE, sizeof(result), &result, NULL); in GetDeviceType()
911 clGetDeviceInfo(device, CL_DEVICE_PLATFORM, sizeof(plat), &plat, NULL); in GetOpposingDevice()
954 error = clGetDeviceInfo(otherDevices[i], CL_DEVICE_TYPE, in GetOpposingDevice()
974 cl_int err = clGetDeviceInfo(device, CL_DEVICE_VERSION, 0, NULL, &str_size); in get_device_cl_version()
979 clGetDeviceInfo(device, CL_DEVICE_VERSION, str_size, str.data(), NULL); in get_device_cl_version()
[all …]
DdeviceInfo.cpp33 if ((err = clGetDeviceInfo(device, param_name, 0, NULL, &size)) in get_device_info_string()
42 if ((err = clGetDeviceInfo(device, param_name, size, info.data(), NULL)) in get_device_info_string()
93 if (clGetDeviceInfo(device, CL_DEVICE_MAX_PARAMETER_SIZE, sizeof(ret), &ret, in get_max_param_size()
/external/angle/src/libANGLE/renderer/cl/
DCLDeviceCL.cpp28 if (device->getDispatch().clGetDeviceInfo(device, cl::ToCLenum(name), 0u, nullptr, &size) == in GetDeviceInfo()
33 if (device->getDispatch().clGetDeviceInfo(device, cl::ToCLenum(name), size, vector.data(), in GetDeviceInfo()
47 if (device->getDispatch().clGetDeviceInfo(device, cl::ToCLenum(name), sizeof(T), &value, in GetDeviceInfo()
186 return mNative->getDispatch().clGetDeviceInfo(mNative, cl::ToCLenum(name), sizeof(*value), in getInfoUInt()
192 return mNative->getDispatch().clGetDeviceInfo(mNative, cl::ToCLenum(name), sizeof(*value), in getInfoULong()
198 return mNative->getDispatch().clGetDeviceInfo(mNative, cl::ToCLenum(name), sizeof(*value), in getInfoSizeT()
204 return mNative->getDispatch().clGetDeviceInfo(mNative, cl::ToCLenum(name), 0u, nullptr, value); in getInfoStringLength()
209 return mNative->getDispatch().clGetDeviceInfo(mNative, cl::ToCLenum(name), size, value, in getInfoString()
/external/OpenCL-CTS/test_conformance/images/clGetInfo/
Dtest_1D_2D_array.cpp39 …int error = clGetDeviceInfo( device, CL_DEVICE_IMAGE2D_MAX_WIDTH, sizeof( maxWidth ), &maxWidth, N… in test_get_image_info_1D_array()
40 …error |= clGetDeviceInfo( device, CL_DEVICE_IMAGE_MAX_ARRAY_SIZE, sizeof( maxArraySize ), &maxArra… in test_get_image_info_1D_array()
41 …error |= clGetDeviceInfo( device, CL_DEVICE_MAX_MEM_ALLOC_SIZE, sizeof( maxAllocSize ), &maxAllocS… in test_get_image_info_1D_array()
42 … error |= clGetDeviceInfo( device, CL_DEVICE_GLOBAL_MEM_SIZE, sizeof( memSize ), &memSize, NULL ); in test_get_image_info_1D_array()
162 …int error = clGetDeviceInfo( device, CL_DEVICE_IMAGE2D_MAX_WIDTH, sizeof( maxWidth ), &maxWidth, N… in test_get_image_info_2D_array()
163 …error |= clGetDeviceInfo( device, CL_DEVICE_IMAGE2D_MAX_HEIGHT, sizeof( maxHeight ), &maxHeight, N… in test_get_image_info_2D_array()
164 …error |= clGetDeviceInfo( device, CL_DEVICE_IMAGE_MAX_ARRAY_SIZE, sizeof( maxArraySize ), &maxArra… in test_get_image_info_2D_array()
165 …error |= clGetDeviceInfo( device, CL_DEVICE_MAX_MEM_ALLOC_SIZE, sizeof( maxAllocSize ), &maxAllocS… in test_get_image_info_2D_array()
166 … error |= clGetDeviceInfo( device, CL_DEVICE_GLOBAL_MEM_SIZE, sizeof( memSize ), &memSize, NULL ); in test_get_image_info_2D_array()
Dtest_3D.cpp41 …int error = clGetDeviceInfo( device, CL_DEVICE_IMAGE3D_MAX_WIDTH, sizeof( maxWidth ), &maxWidth, N… in test_get_image_info_3D()
42 …error |= clGetDeviceInfo( device, CL_DEVICE_IMAGE3D_MAX_HEIGHT, sizeof( maxHeight ), &maxHeight, N… in test_get_image_info_3D()
43 …error |= clGetDeviceInfo( device, CL_DEVICE_IMAGE3D_MAX_DEPTH, sizeof( maxDepth ), &maxDepth, NULL… in test_get_image_info_3D()
44 …error |= clGetDeviceInfo( device, CL_DEVICE_MAX_MEM_ALLOC_SIZE, sizeof( maxAllocSize ), &maxAllocS… in test_get_image_info_3D()
45 … error |= clGetDeviceInfo( device, CL_DEVICE_GLOBAL_MEM_SIZE, sizeof( memSize ), &memSize, NULL ); in test_get_image_info_3D()
/external/OpenCL-CTS/test_conformance/images/kernel_image_methods/
Dtest_3D.cpp47 …int error = clGetDeviceInfo( device, CL_DEVICE_IMAGE3D_MAX_WIDTH, sizeof( maxWidth ), &maxWidth, N… in test_get_image_info_3D()
48 …error |= clGetDeviceInfo( device, CL_DEVICE_IMAGE3D_MAX_HEIGHT, sizeof( maxHeight ), &maxHeight, N… in test_get_image_info_3D()
49 …error |= clGetDeviceInfo( device, CL_DEVICE_IMAGE3D_MAX_DEPTH, sizeof( maxDepth ), &maxDepth, NULL… in test_get_image_info_3D()
50 …error |= clGetDeviceInfo( device, CL_DEVICE_MAX_MEM_ALLOC_SIZE, sizeof( maxAllocSize ), &maxAllocS… in test_get_image_info_3D()
51 … error |= clGetDeviceInfo( device, CL_DEVICE_GLOBAL_MEM_SIZE, sizeof( memSize ), &memSize, NULL ); in test_get_image_info_3D()
/external/OpenCL-CTS/test_conformance/computeinfo/
Ddevice_uuid.cpp68 cl_int err = clGetDeviceInfo(device, info, id_size, id.data(), &size_ret); in get_uuid()
82 err = clGetDeviceInfo(device, info, id_size, id_2.data(), &size_ret_2); in get_uuid()
147 cl_int err = clGetDeviceInfo(deviceID, CL_DEVICE_LUID_VALID_KHR, in test_device_uuid()
181 clGetDeviceInfo(deviceID, CL_DEVICE_NODE_MASK_KHR, in test_device_uuid()
Dextended_versioning.cpp98 cl_int err = clGetDeviceInfo(device, name, 0, nullptr, &size); in get_device_string()
107 err = clGetDeviceInfo(device, name, size, result.data(), nullptr); in get_device_string()
283 clGetDeviceInfo(deviceID, query.param_name_numeric, in test_extended_versioning_device_versions()
406 cl_int err = clGetDeviceInfo(device, CL_DEVICE_EXTENSIONS_WITH_VERSION_KHR, in test_extended_versioning_device_extensions()
425 err = clGetDeviceInfo(device, CL_DEVICE_EXTENSIONS_WITH_VERSION_KHR, size, in test_extended_versioning_device_extensions()
485 cl_int err = clGetDeviceInfo(device, CL_DEVICE_ILS_WITH_VERSION_KHR, 0, in test_extended_versioning_device_il()
503 err = clGetDeviceInfo(device, CL_DEVICE_ILS_WITH_VERSION_KHR, size, in test_extended_versioning_device_il()
633 cl_int err = clGetDeviceInfo( in test_extended_versioning_device_built_in_kernels()
651 err = clGetDeviceInfo(device, CL_DEVICE_BUILT_IN_KERNELS_WITH_VERSION_KHR, in test_extended_versioning_device_built_in_kernels()
739 cl_int err = clGetDeviceInfo(deviceID, CL_DEVICE_PLATFORM, sizeof(platform), in test_extended_versioning()
Dmain.cpp466 clGetDeviceInfo(device, info->opcode, sizeof(info->config.type), in getConfigInfo()
471 err = clGetDeviceInfo(device, info->opcode, in getConfigInfo()
477 err = clGetDeviceInfo( in getConfigInfo()
483 err = clGetDeviceInfo( in getConfigInfo()
489 err = clGetDeviceInfo( in getConfigInfo()
496 err = clGetDeviceInfo( in getConfigInfo()
502 err = clGetDeviceInfo(device, info->opcode, in getConfigInfo()
508 err = clGetDeviceInfo( in getConfigInfo()
515 clGetDeviceInfo(device, info->opcode, sizeof(info->config.uint), in getConfigInfo()
520 err = clGetDeviceInfo(device, info->opcode, in getConfigInfo()
[all …]
/external/OpenCL-CTS/test_conformance/device_partition/
Dtest_device_partition.cpp123 error = clGetDeviceInfo(devices[z], CL_DEVICE_NAME, sizeof( deviceName), deviceName, NULL); in create_single_kernel_helper()
242 error = clGetDeviceInfo(devices[i], CL_DEVICE_NAME, 0, NULL, &deviceNameSize); in test_device_set()
245 error = clGetDeviceInfo(devices[i], CL_DEVICE_NAME, deviceNameSize, deviceName, NULL); in test_device_set()
360 …int err = clGetDeviceInfo(parentDevice, CL_DEVICE_MAX_COMPUTE_UNITS, sizeof(maxComputeUnits), &max… in init_device_partition_test()
362 …err = clGetDeviceInfo(parentDevice, CL_DEVICE_PARTITION_MAX_SUB_DEVICES, sizeof(maxSubDevices), &m… in init_device_partition_test()
377 err = clGetDeviceInfo( parentDevice, CL_DEVICE_PARTITION_PROPERTIES, 0, NULL, & size ); in test_device_partition_type_support()
385 …err = clGetDeviceInfo( parentDevice, CL_DEVICE_PARTITION_PROPERTIES, supportedProps.size() * propS… in test_device_partition_type_support()
400 …err = clGetDeviceInfo(parentDevice, CL_DEVICE_PARTITION_AFFINITY_DOMAIN, sizeof(supportedAffinityD… in test_device_partition_type_support()
429 err = clGetDeviceInfo(deviceID, CL_DEVICE_PARTITION_TYPE, 0, NULL, &psize); in test_partition_of_device()
432 …err = clGetDeviceInfo(deviceID, CL_DEVICE_PARTITION_TYPE, psize, (void *) properties_returned, NUL… in test_partition_of_device()
/external/OpenCL-CTS/test_conformance/images/clFillImage/
Dtest_fill_3D.cpp81 …int error = clGetDeviceInfo( device, CL_DEVICE_IMAGE3D_MAX_WIDTH, sizeof( maxWidth ), &maxWidth, N… in test_fill_image_set_3D()
82 …error |= clGetDeviceInfo( device, CL_DEVICE_IMAGE3D_MAX_HEIGHT, sizeof( maxHeight ), &maxHeight, N… in test_fill_image_set_3D()
83 …error |= clGetDeviceInfo( device, CL_DEVICE_IMAGE3D_MAX_DEPTH, sizeof( maxDepth ), &maxDepth, NULL… in test_fill_image_set_3D()
84 …error |= clGetDeviceInfo( device, CL_DEVICE_MAX_MEM_ALLOC_SIZE, sizeof( maxAllocSize ), &maxAllocS… in test_fill_image_set_3D()
85 … error |= clGetDeviceInfo( device, CL_DEVICE_GLOBAL_MEM_SIZE, sizeof( memSize ), &memSize, NULL ); in test_fill_image_set_3D()
Dtest_fill_2D_array.cpp81 …int error = clGetDeviceInfo( device, CL_DEVICE_IMAGE2D_MAX_WIDTH, sizeof( maxWidth ), &maxWidth, N… in test_fill_image_set_2D_array()
82 …error |= clGetDeviceInfo( device, CL_DEVICE_IMAGE2D_MAX_HEIGHT, sizeof( maxHeight ), &maxHeight, N… in test_fill_image_set_2D_array()
83 …error |= clGetDeviceInfo( device, CL_DEVICE_IMAGE_MAX_ARRAY_SIZE, sizeof( maxArraySize ), &maxArra… in test_fill_image_set_2D_array()
84 …error |= clGetDeviceInfo( device, CL_DEVICE_MAX_MEM_ALLOC_SIZE, sizeof( maxAllocSize ), &maxAllocS… in test_fill_image_set_2D_array()
85 … error |= clGetDeviceInfo( device, CL_DEVICE_GLOBAL_MEM_SIZE, sizeof( memSize ), &memSize, NULL ); in test_fill_image_set_2D_array()
/external/OpenCL-CTS/test_conformance/images/clCopyImage/
Dtest_copy_3D.cpp51 …int error = clGetDeviceInfo( device, CL_DEVICE_IMAGE3D_MAX_WIDTH, sizeof( maxWidth ), &maxWidth, N… in test_copy_image_set_3D()
52 …error |= clGetDeviceInfo( device, CL_DEVICE_IMAGE3D_MAX_HEIGHT, sizeof( maxHeight ), &maxHeight, N… in test_copy_image_set_3D()
53 …error |= clGetDeviceInfo( device, CL_DEVICE_IMAGE3D_MAX_DEPTH, sizeof( maxDepth ), &maxDepth, NULL… in test_copy_image_set_3D()
54 …error |= clGetDeviceInfo( device, CL_DEVICE_MAX_MEM_ALLOC_SIZE, sizeof( maxAllocSize ), &maxAllocS… in test_copy_image_set_3D()
55 … error |= clGetDeviceInfo( device, CL_DEVICE_GLOBAL_MEM_SIZE, sizeof( memSize ), &memSize, NULL ); in test_copy_image_set_3D()
Dtest_copy_2D_array.cpp65 …int error = clGetDeviceInfo( device, CL_DEVICE_IMAGE3D_MAX_WIDTH, sizeof( maxWidth ), &maxWidth, N… in test_copy_image_set_2D_array()
66 …error |= clGetDeviceInfo( device, CL_DEVICE_IMAGE3D_MAX_HEIGHT, sizeof( maxHeight ), &maxHeight, N… in test_copy_image_set_2D_array()
67 …error |= clGetDeviceInfo( device, CL_DEVICE_IMAGE_MAX_ARRAY_SIZE, sizeof( maxArraySize ), &maxArra… in test_copy_image_set_2D_array()
68 …error |= clGetDeviceInfo( device, CL_DEVICE_MAX_MEM_ALLOC_SIZE, sizeof( maxAllocSize ), &maxAllocS… in test_copy_image_set_2D_array()
69 … error |= clGetDeviceInfo( device, CL_DEVICE_GLOBAL_MEM_SIZE, sizeof( memSize ), &memSize, NULL ); in test_copy_image_set_2D_array()
/external/OpenCL-CTS/test_conformance/basic/
Dtest_local.cpp131 err = clGetDeviceInfo(device, CL_DEVICE_MAX_WORK_GROUP_SIZE, sizeof wgsize, &wgsize, NULL); in test_local_arg_def()
178 …err = clGetDeviceInfo(device, CL_DEVICE_MAX_WORK_ITEM_SIZES, sizeof(max_local_workgroup_size), max… in test_local_arg_def()
249 err = clGetDeviceInfo(device, CL_DEVICE_MAX_WORK_GROUP_SIZE, sizeof wgsize, &wgsize, NULL); in test_local_kernel_def()
291 …err = clGetDeviceInfo(device, CL_DEVICE_LOCAL_MEM_SIZE, sizeof(localMemSize), &localMemSize, NULL); in test_local_kernel_def()
312 …err = clGetDeviceInfo(device, CL_DEVICE_MAX_WORK_ITEM_SIZES, sizeof(max_local_workgroup_size), max… in test_local_kernel_def()
Dtest_imagedim.cpp96 …err = clGetDeviceInfo(device, CL_DEVICE_GLOBAL_MEM_SIZE,sizeof(max_mem_size), &max_mem_size, NULL); in test_imagedim_pow2()
102 …err = clGetDeviceInfo(device, CL_DEVICE_IMAGE2D_MAX_WIDTH, sizeof(max_image2d_width), &max_image2d… in test_imagedim_pow2()
108 …err = clGetDeviceInfo(device, CL_DEVICE_IMAGE2D_MAX_HEIGHT, sizeof(max_image2d_width), &max_image2… in test_imagedim_pow2()
308 …err = clGetDeviceInfo(device, CL_DEVICE_MAX_WORK_ITEM_SIZES, sizeof(max_local_workgroup_size), max… in test_imagedim_non_pow2()
311 …err = clGetDeviceInfo(device, CL_DEVICE_GLOBAL_MEM_SIZE,sizeof(max_mem_size), &max_mem_size, NULL); in test_imagedim_non_pow2()
317 …err = clGetDeviceInfo(device, CL_DEVICE_IMAGE2D_MAX_WIDTH, sizeof(max_image2d_width), &max_image2d… in test_imagedim_non_pow2()
323 …err = clGetDeviceInfo(device, CL_DEVICE_IMAGE2D_MAX_HEIGHT, sizeof(max_image2d_width), &max_image2… in test_imagedim_non_pow2()
Dtest_async_strided_copy.cpp87 …error = clGetDeviceInfo(deviceID, CL_DEVICE_LOCAL_MEM_SIZE, sizeof(max_local_mem_size), &max_local… in test_strided_copy()
91 …error = clGetDeviceInfo(deviceID, CL_DEVICE_MAX_COMPUTE_UNITS, sizeof(num_of_compute_devices), &nu… in test_strided_copy()
112 …error = clGetDeviceInfo(deviceID, CL_DEVICE_MAX_WORK_ITEM_SIZES, sizeof(max_local_workgroup_size),… in test_strided_copy()
122 …error = clGetDeviceInfo(deviceID, CL_DEVICE_GLOBAL_MEM_SIZE, sizeof(max_global_mem_size), &max_glo… in test_strided_copy()
130 …error = clGetDeviceInfo(deviceID, CL_DEVICE_HOST_UNIFIED_MEMORY, sizeof(unified_mem), &unified_mem… in test_strided_copy()
/external/OpenCL-CTS/test_conformance/images/kernel_read_write/
Dtest_read_3D.cpp102 …error = clGetDeviceInfo( device, CL_DEVICE_IMAGE3D_MAX_WIDTH, sizeof( maxWidth ), &maxWidth, NULL … in test_read_image_set_3D()
103 …error |= clGetDeviceInfo( device, CL_DEVICE_IMAGE3D_MAX_HEIGHT, sizeof( maxHeight ), &maxHeight, N… in test_read_image_set_3D()
104 …error |= clGetDeviceInfo( device, CL_DEVICE_IMAGE3D_MAX_DEPTH, sizeof( maxDepth ), &maxDepth, NULL… in test_read_image_set_3D()
105 …error |= clGetDeviceInfo( device, CL_DEVICE_MAX_MEM_ALLOC_SIZE, sizeof( maxAllocSize ), &maxAllocS… in test_read_image_set_3D()
106 … error |= clGetDeviceInfo( device, CL_DEVICE_GLOBAL_MEM_SIZE, sizeof( memSize ), &memSize, NULL ); in test_read_image_set_3D()
/external/OpenCL-CTS/test_conformance/allocations/
Dmain.cpp46 …error = clGetDeviceInfo( device, CL_DEVICE_MAX_MEM_ALLOC_SIZE, sizeof(g_max_individual_allocation_… in init_cl()
51 …error = clGetDeviceInfo( device, CL_DEVICE_GLOBAL_MEM_SIZE, sizeof(g_global_mem_size), &g_global_m… in init_cl()
77 …if( ( error = clGetDeviceInfo( device, CL_DEVICE_HOST_UNIFIED_MEMORY, sizeof( hasUnifiedMemory ), … in init_cl()
139 …error = clGetDeviceInfo( device, CL_DEVICE_IMAGE2D_MAX_WIDTH, sizeof( max_width ), &max_width, NUL… in doTest()
142 …error = clGetDeviceInfo( device, CL_DEVICE_IMAGE2D_MAX_HEIGHT, sizeof( max_height ), &max_height, … in doTest()

123456789