MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / getDevicePlatformVersion

Function getDevicePlatformVersion

include/CL/opencl.hpp:2042–2047  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2040}
2041
2042static cl_uint getDevicePlatformVersion(cl_device_id device)
2043{
2044 cl_platform_id platform;
2045 clGetDeviceInfo(device, CL_DEVICE_PLATFORM, sizeof(platform), &platform, nullptr);
2046 return getPlatformVersion(platform);
2047}
2048
2049static cl_uint getContextPlatformVersion(cl_context context)
2050{

Callers 2

isReferenceCountableMethod · 0.85

Calls 2

clGetDeviceInfoFunction · 0.85
getPlatformVersionFunction · 0.85

Tested by

no test coverage detected