/external/OpenCL-CTS/test_conformance/vulkan/ |
D | test_vulkan_platform_device_info.cpp | 54 cl_uint num_platforms; in test_platform_info() local 63 errNum = clGetPlatformIDs(0, NULL, &num_platforms); in test_platform_info() 67 (cl_platform_id *)malloc(num_platforms * sizeof(cl_platform_id)); in test_platform_info() 73 log_info("%d platforms available\n", num_platforms); in test_platform_info() 74 errNum = clGetPlatformIDs(num_platforms, platforms, NULL); in test_platform_info() 77 for (i = 0; i < num_platforms; i++) in test_platform_info()
|
/external/OpenCL-CTS/test_conformance/api/ |
D | test_platform.cpp | 154 cl_uint num_platforms; in test_get_platform_ids() local 163 err = clGetPlatformIDs(16, platforms, &num_platforms); in test_get_platform_ids() 166 if (num_platforms <= 16) { in test_get_platform_ids() 168 err = clGetPlatformIDs(num_platforms, platforms, NULL); in test_get_platform_ids() 172 if (num_platforms < 1) { in test_get_platform_ids() 176 log_info("Found %d platforms.\n", num_platforms); in test_get_platform_ids() 179 for (int p=0; p<(int)num_platforms; p++) { in test_get_platform_ids()
|
/external/mesa3d/src/gallium/frontends/clover/api/ |
D | context.cpp | 68 cl_uint num_platforms; in clCreateContextFromType() local 73 ret = clGetPlatformIDs(1, &d_platform, &num_platforms); in clCreateContextFromType() 74 if (ret || !num_platforms) in clCreateContextFromType()
|
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/ |
D | cl_device.cc | 370 cl_uint num_platforms; in CreateDefaultGPUDevice() local 371 cl_int status = clGetPlatformIDs(0, nullptr, &num_platforms); in CreateDefaultGPUDevice() 376 if (num_platforms == 0) { in CreateDefaultGPUDevice() 379 std::vector<cl_platform_id> platforms(num_platforms); in CreateDefaultGPUDevice() 380 status = clGetPlatformIDs(num_platforms, platforms.data(), nullptr); in CreateDefaultGPUDevice()
|
/external/OpenCL-CTS/test_common/harness/ |
D | testHarness.cpp | 158 cl_uint num_platforms = 0; in runTestHarnessWithCheck() local 398 err = clGetPlatformIDs(0, NULL, &num_platforms); in runTestHarnessWithCheck() 406 (cl_platform_id *)malloc(num_platforms * sizeof(cl_platform_id)); in runTestHarnessWithCheck() 407 if (!platforms || choosen_platform_index >= num_platforms) in runTestHarnessWithCheck() 411 choosen_platform_index, num_platforms); in runTestHarnessWithCheck() 416 err = clGetPlatformIDs(num_platforms, platforms, NULL); in runTestHarnessWithCheck()
|
/external/mesa3d/include/CL/ |
D | cl_ext.h | 103 cl_uint * num_platforms); 108 cl_uint * num_platforms);
|
D | cl.h | 947 cl_uint * num_platforms) CL_API_SUFFIX__VERSION_1_0;
|
/external/OpenCL-CTS/test_conformance/spir/ |
D | main.cpp | 6683 cl_uint num_platforms = 0; in get_platform_device() local 6689 error = clGetPlatformIDs(0, NULL, &num_platforms); in get_platform_device() 6694 if ( choosen_platform_index >= num_platforms ) in get_platform_device() 6699 platforms = (cl_platform_id *) malloc( num_platforms * sizeof( cl_platform_id ) ); in get_platform_device() 6706 error = clGetPlatformIDs(num_platforms, platforms, NULL); in get_platform_device()
|
/external/angle/src/libGLESv2/ |
D | cl_stubs.cpp | 38 cl_int IcdGetPlatformIDsKHR(cl_uint num_entries, cl_platform_id *platforms, cl_uint *num_platforms) in IcdGetPlatformIDsKHR() argument 40 return Platform::GetPlatformIDs(num_entries, platforms, num_platforms); in IcdGetPlatformIDsKHR() 43 cl_int GetPlatformIDs(cl_uint num_entries, cl_platform_id *platforms, cl_uint *num_platforms) in GetPlatformIDs() argument 45 return Platform::GetPlatformIDs(num_entries, platforms, num_platforms); in GetPlatformIDs()
|
D | entry_points_cl_autogen.cpp | 23 cl_uint *num_platforms) in clGetPlatformIDs() argument 29 num_entries, (uintptr_t)platforms, (uintptr_t)num_platforms); in clGetPlatformIDs() 31 ANGLE_CL_VALIDATE_ERROR(GetPlatformIDs, num_entries, platforms, num_platforms); in clGetPlatformIDs() 33 return GetPlatformIDs(num_entries, platforms, num_platforms); in clGetPlatformIDs() 2410 cl_uint *num_platforms) in clIcdGetPlatformIDsKHR() argument 2416 num_entries, (uintptr_t)platforms, (uintptr_t)num_platforms); in clIcdGetPlatformIDsKHR() 2418 ANGLE_CL_VALIDATE_ERROR(IcdGetPlatformIDsKHR, num_entries, platforms, num_platforms); in clIcdGetPlatformIDsKHR() 2420 return IcdGetPlatformIDsKHR(num_entries, platforms, num_platforms); in clIcdGetPlatformIDsKHR()
|
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);
|
D | entry_points_cl_autogen.h | 22 cl_uint *num_platforms); 615 cl_uint *num_platforms);
|
/external/angle/src/libOpenCL/ |
D | libOpenCL_autogen.cpp | 17 cl_uint *num_platforms) in clGetPlatformIDs() argument 19 return cl::GetDispatch().clGetPlatformIDs(num_entries, platforms, num_platforms); in clGetPlatformIDs() 1156 cl_uint *num_platforms) in clIcdGetPlatformIDsKHR() argument 1158 return cl::GetDispatch().clIcdGetPlatformIDsKHR(num_entries, platforms, num_platforms); in clIcdGetPlatformIDsKHR()
|
/external/angle/src/libANGLE/ |
D | validationCL_autogen.h | 22 const cl_uint *num_platforms); 582 const cl_uint *num_platforms);
|
D | validationCL.cpp | 500 const cl_uint *num_platforms) in ValidateGetPlatformIDs() argument 505 (platforms == nullptr && num_platforms == nullptr)) in ValidateGetPlatformIDs() 3637 const cl_uint *num_platforms) in ValidateIcdGetPlatformIDsKHR() argument 3640 (platforms == nullptr && num_platforms == nullptr)) in ValidateIcdGetPlatformIDsKHR()
|
/external/ComputeLibrary/include/CL/ |
D | cl_ext.h | 103 cl_uint * num_platforms); 108 cl_uint * num_platforms);
|
D | cl.h | 949 cl_uint * num_platforms) CL_API_SUFFIX__VERSION_1_0;
|
D | cl_icd.h | 46 cl_uint *num_platforms) CL_API_SUFFIX__VERSION_1_0;
|
/external/angle/include/CL/ |
D | cl_ext.h | 103 cl_uint * num_platforms); 108 cl_uint * num_platforms);
|
D | cl.h | 949 cl_uint * num_platforms) CL_API_SUFFIX__VERSION_1_0;
|
D | cl_icd.h | 46 cl_uint *num_platforms) CL_API_SUFFIX__VERSION_1_0;
|
/external/ComputeLibrary/src/core/CL/ |
D | OpenCL.cpp | 939 cl_int clGetPlatformIDs(cl_uint num_entries, cl_platform_id *platforms, cl_uint *num_platforms) in clGetPlatformIDs() argument 945 return func(num_entries, platforms, num_platforms); in clGetPlatformIDs()
|
/external/ImageMagick/MagickCore/ |
D | opencl-private.h | 68 cl_platform_id *platforms,cl_uint *num_platforms) CL_API_SUFFIX__VERSION_1_0;
|
/external/OpenCL-CTS/dependencies/ocl-headers/CL/ |
D | cl_ext.h | 591 cl_uint * num_platforms); 596 cl_uint * num_platforms);
|
D | cl.h | 956 cl_uint * num_platforms) CL_API_SUFFIX__VERSION_1_0;
|