| 269 | } |
| 270 | |
| 271 | afcl::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 | |
| 281 | bool isDeviceBufferAccessible(int buf_device_id, int execution_id) { |
| 282 | DeviceManager& devMngr = DeviceManager::getInstance(); |
no outgoing calls
no test coverage detected