| 436 | } |
| 437 | |
| 438 | void DeviceManager::resetMemoryManagerPinned() { |
| 439 | // Replace with default memory manager |
| 440 | std::unique_ptr<MemoryManagerBase> mgr( |
| 441 | new common::DefaultMemoryManager(getDeviceCount(), common::MAX_BUFFERS, |
| 442 | AF_MEM_DEBUG || AF_CUDA_MEM_DEBUG)); |
| 443 | setMemoryManagerPinned(std::move(mgr)); |
| 444 | } |
| 445 | |
| 446 | /// A debug only function that checks to see if the driver or runtime |
| 447 | /// function is part of the CudaToDriverVersion array. If the runtime |
no test coverage detected