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

Function isGLSharingSupported

src/backend/opencl/platform.cpp:420–428  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

418}
419
420bool isGLSharingSupported() {
421 device_id_t& devId = tlocalActiveDeviceId();
422
423 DeviceManager& devMngr = DeviceManager::getInstance();
424
425 common::lock_guard_t lock(devMngr.deviceMutex);
426
427 return devMngr.mIsGLSharingOn[get<1>(devId)];
428}
429
430bool isDoubleSupported(unsigned device) {
431 DeviceManager& devMngr = DeviceManager::getInstance();

Callers 5

copy_vector_fieldFunction · 0.70
copy_imageFunction · 0.70
copy_plotFunction · 0.70
copy_surfaceFunction · 0.70
copy_histogramFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected