Home
last modified time | relevance | path

Searched refs:cl_platform_id (Results 1 – 25 of 95) sorted by relevance

1234

/external/mesa3d/src/gallium/frontends/clover/api/
Dplatform.cpp38 clGetPlatformIDs(cl_uint num_entries, cl_platform_id *rd_platforms, in clGetPlatformIDs()
53 clover::GetPlatformInfo(cl_platform_id d_platform, cl_platform_info param, in GetPlatformInfo()
98 clover::GetExtensionFunctionAddressForPlatform(cl_platform_id d_platform, in GetExtensionFunctionAddressForPlatform()
209 clover::IcdGetPlatformIDsKHR(cl_uint num_entries, cl_platform_id *rd_platforms, in IcdGetPlatformIDsKHR()
215 clGetPlatformInfo(cl_platform_id d_platform, cl_platform_info param, in clGetPlatformInfo()
226 clGetExtensionFunctionAddressForPlatform(cl_platform_id d_platform, in clGetExtensionFunctionAddressForPlatform()
232 clIcdGetPlatformIDsKHR(cl_uint num_entries, cl_platform_id *rd_platforms, in clIcdGetPlatformIDsKHR()
Ddispatch.hpp36 GetPlatformInfo(cl_platform_id d_platform, cl_platform_info param,
43 GetExtensionFunctionAddressForPlatform(cl_platform_id d_platform,
47 IcdGetPlatformIDsKHR(cl_uint num_entries, cl_platform_id *rd_platforms,
Dcontext.cpp43 obj(prop.second.as<cl_platform_id>()); in clCreateContext()
67 cl_platform_id d_platform; in clCreateContextFromType()
/external/angle/src/libANGLE/renderer/cl/
DCLPlatformCL.h21 cl_platform_id getNative() const;
41 CLPlatformCL(const cl::Platform &platform, cl_platform_id native);
43 const cl_platform_id mNative;
48 inline cl_platform_id CLPlatformCL::getNative() const in getNative()
/external/OpenCL-CTS/test_conformance/api/
Dtest_platform.cpp60 cl_platform_id platformID; in test_platform_extensions()
75 sizeof(cl_platform_id), in test_platform_extensions()
153 cl_platform_id platforms[16]; in test_get_platform_ids()
242 cl_platform_id returned_platform; in test_get_platform_ids()
246 …err = clGetDeviceInfo(devices[d], CL_DEVICE_PLATFORM, sizeof(cl_platform_id), &returned_platform, … in test_get_platform_ids()
248 if (returned_size != sizeof(cl_platform_id)) { in test_get_platform_ids()
249 …d return size (%ld) does not match expected size (%ld).\n", returned_size, sizeof(cl_platform_id)); in test_get_platform_ids()
Dnegative_platform.cpp22 cl_platform_id platform; in test_negative_get_platform_ids()
43 cl_platform_id platform = getPlatformFromDevice(deviceID); in test_negative_get_platform_info()
46 clGetPlatformInfo(reinterpret_cast<cl_platform_id>(deviceID), in test_negative_get_platform_info()
Dtest_queue_properties.cpp47 cl_platform_id platform; in enqueue_kernel()
50 error = clGetDeviceInfo(deviceID, CL_DEVICE_PLATFORM, sizeof(cl_platform_id), &platform, NULL); in enqueue_kernel()
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/
Dcl_device.h36 CLDevice(cl_device_id id, cl_platform_id platform_id);
46 cl_platform_id platform() const { return platform_id_; } in platform()
59 cl_platform_id platform_id_ = nullptr;
Dcl_device.cc51 T GetPlatformInfo(cl_platform_id id, cl_platform_info info) { in GetPlatformInfo()
60 std::string GetPlatformInfo(cl_platform_id id, cl_platform_info info) { in GetPlatformInfo()
245 CLDevice::CLDevice(cl_device_id id, cl_platform_id platform_id) in CLDevice()
302 std::vector<cl_platform_id> platforms(num_platforms); in CreateDefaultGPUDevice()
305 cl_platform_id platform_id = platforms[0]; in CreateDefaultGPUDevice()
/external/OpenCL-CTS/test_conformance/compiler/
Dtest_unload_platform_compiler.cpp261 build_with_il(const cl_context context, const cl_platform_id platform, in build_with_il()
359 static cl_platform_id device_platform(cl_device_id device) in device_platform()
361 cl_platform_id platform; in device_platform()
373 static void unload_platform_compiler(const cl_platform_id platform) in unload_platform_compiler()
383 const cl_platform_id platform = device_platform(device); in test_unload_valid()
415 const cl_platform_id platform = device_platform(device); in test_unload_repeated()
446 const cl_platform_id platform = device_platform(device); in test_unload_compile_unload_link()
478 const cl_platform_id platform = device_platform(device); in test_unload_build_unload_create_kernel()
509 const cl_platform_id platform = device_platform(device); in test_unload_link_different()
659 const cl_platform_id platform = device_platform(device); in test_unload_build_threaded()
[all …]
/external/OpenCL-CTS/test_conformance/d3d10/
Dharness.h144 void HarnessD3D10_Initialize(cl_platform_id platform);
155 cl_platform_id platform,
161 cl_platform_id platform,
Dmain.cpp26 cl_platform_id platform = NULL; in main()
90 void TestAdapterEnumeration(cl_platform_id platform, IDXGIAdapter* pAdapter, ID3D10Device* pDevice,… in TestAdapterEnumeration()
207 void TestAdapterDevices(cl_platform_id platform, IDXGIAdapter* pAdapter, ID3D10Device* pDevice, cl_… in TestAdapterDevices()
/external/angle/src/libANGLE/
DCLPlatform.h29 static Platform *CastOrDefault(cl_platform_id platform);
33 cl_platform_id *platforms,
93 inline Platform *Platform::CastOrDefault(cl_platform_id platform) in CastOrDefault()
DvalidationCL_autogen.h21 const cl_platform_id *platforms,
23 cl_int ValidateGetPlatformInfo(cl_platform_id platform,
28 cl_int ValidateGetDeviceIDs(cl_platform_id platform,
416 cl_int ValidateUnloadPlatformCompiler(cl_platform_id platform);
455 cl_int ValidateGetExtensionFunctionAddressForPlatform(cl_platform_id platform,
581 const cl_platform_id *platforms,
/external/OpenCL-CTS/test_conformance/spirv_new/
Dtest_op_opaque.cpp41 cl_platform_id platform; in TEST_SPIRV_FUNC()
43 sizeof(cl_platform_id), &platform, NULL); in TEST_SPIRV_FUNC()
Dtest_linkage.cpp44 cl_platform_id platform; in test_linkage_compile()
46 sizeof(cl_platform_id), &platform, NULL); in test_linkage_compile()
/external/OpenCL-CTS/test_conformance/d3d11/
Dharness.h145 void HarnessD3D11_Initialize(cl_platform_id platform);
158 cl_platform_id platform,
164 cl_platform_id platform,
/external/angle/include/CL/
Dcl_dx9_media_sharing.h80 cl_platform_id platform,
156 cl_platform_id platform,
165 cl_platform_id platform,
Dcl_va_api_media_sharing_intel.h65 cl_platform_id platform,
74 cl_platform_id platform,
Dcl_icd.h45 cl_uint num_entries, cl_platform_id *platforms,
49 cl_platform_id platform, cl_platform_info param_name,
55 cl_platform_id platform, cl_device_type device_type, cl_uint num_entries,
338 cl_platform_id platform) CL_API_SUFFIX__VERSION_1_2;
640 cl_platform_id platform,
792 cl_platform_id platform, cl_d3d10_device_source_khr d3d_device_source,
824 cl_platform_id platform, cl_d3d10_device_source_khr d3d_device_source,
852 cl_platform_id platform, cl_d3d11_device_source_khr d3d_device_source,
886 cl_platform_id platform, cl_uint num_media_adapters,
912 cl_platform_id platform, cl_d3d11_device_source_khr d3d_device_source,
[all …]
/external/mesa3d/include/CL/
Dcl_va_api_media_sharing_intel.h101 cl_platform_id platform,
110 cl_platform_id platform,
Dcl_dx9_media_sharing_intel.h109 cl_platform_id platform,
118 cl_platform_id platform,
/external/skqp/src/compute/common/cl/
Dfind_cl.c32 cl_platform_id * const platform_id, in clFindIdsByName()
48 cl_platform_id * const platform_ids = ALLOCA_MACRO(sizeof(*platform_ids) * platform_count); in clFindIdsByName()
/external/OpenCL-CTS/test_common/gl/
Dsetup_win32.cpp45 cl_platform_id m_platform;
95 cl_platform_id platform; in CreateCLContext()
/external/OpenCL-CTS/test_conformance/extensions/cl_khr_dx9_media_sharing/
Dmain.cpp42 cl_platform_id gPlatformIDdetected;
96 std::vector<cl_platform_id> platforms; in DetectPlatformAndDevice()

1234