MCPcopy Create free account
hub / github.com/OpenKinect/libfreenect2 / getDevicePlatformVersion

Function getDevicePlatformVersion

include/internal/CL/cl.hpp:1764–1769  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1762}
1763
1764static cl_uint getDevicePlatformVersion(cl_device_id device)
1765{
1766 cl_platform_id platform;
1767 clGetDeviceInfo(device, CL_DEVICE_PLATFORM, sizeof(platform), &platform, NULL);
1768 return getPlatformVersion(platform);
1769}
1770
1771#if defined(CL_VERSION_1_2) && defined(CL_USE_DEPRECATED_OPENCL_1_1_APIS)
1772static cl_uint getContextPlatformVersion(cl_context context)

Callers 2

isReferenceCountableMethod · 0.85

Calls 1

getPlatformVersionFunction · 0.85

Tested by

no test coverage detected