MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / getPlatformName

Function getPlatformName

src/backend/opencl/platform.cpp:194–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

192}
193
194string getPlatformName(const Device& device) {
195 const Platform platform(device.getInfo<CL_DEVICE_PLATFORM>());
196 string platStr = platform.getInfo<CL_PLATFORM_NAME>();
197 return platformMap(platStr);
198}
199
200typedef pair<unsigned, unsigned> device_id_t;
201

Callers 3

getPlatformEnumFunction · 0.70
getDeviceInfoFunction · 0.70
compare_defaultFunction · 0.70

Calls 1

platformMapFunction · 0.70

Tested by

no test coverage detected