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

Function isHalfSupported

src/backend/opencl/platform.cpp:441–450  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

439}
440
441bool isHalfSupported(unsigned device) {
442 DeviceManager& devMngr = DeviceManager::getInstance();
443
444 cl::Device dev;
445 {
446 common::lock_guard_t lock(devMngr.deviceMutex);
447 dev = *devMngr.mDevices[device];
448 }
449 return isHalfSupported(dev);
450}
451
452void devprop(char* d_name, char* d_platform, char* d_toolkit, char* d_compute) {
453 unsigned nDevices = 0;

Callers 2

getKernelFunction · 0.70
half>Method · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected