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

Function isDoubleSupported

src/backend/opencl/platform.cpp:430–439  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

428}
429
430bool isDoubleSupported(unsigned device) {
431 DeviceManager& devMngr = DeviceManager::getInstance();
432
433 cl::Device dev;
434 {
435 common::lock_guard_t lock(devMngr.deviceMutex);
436 dev = *devMngr.mDevices[device];
437 }
438 return isDoubleSupported(dev);
439}
440
441bool isHalfSupported(unsigned device) {
442 DeviceManager& devMngr = DeviceManager::getInstance();

Callers 3

getKernelFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected