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

Function getActivePlatformVendor

src/backend/opencl/platform.cpp:271–279  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

269}
270
271afcl::platform getActivePlatformVendor() {
272 device_id_t& devId = tlocalActiveDeviceId();
273
274 DeviceManager& devMngr = DeviceManager::getInstance();
275
276 common::lock_guard_t lock(devMngr.deviceMutex);
277
278 return devMngr.mPlatforms[get<1>(devId)].second;
279}
280
281bool isDeviceBufferAccessible(int buf_device_id, int execution_id) {
282 DeviceManager& devMngr = DeviceManager::getInstance();

Callers 5

afcl_get_platformFunction · 0.85
passesJitHeuristicsFunction · 0.85
leastSquaresFunction · 0.85
triangleSolveFunction · 0.85
magma_getrs_gpuFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected