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

Method AllocatorPinned

src/backend/opencl/memory.cpp:230–232  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

228}
229
230AllocatorPinned::AllocatorPinned() : pinnedMaps(opencl::getDeviceCount()) {
231 logger = common::loggerFactory("mem");
232}
233
234void AllocatorPinned::shutdown() {
235 for (int n = 0; n < opencl::getDeviceCount(); n++) {

Callers

nothing calls this directly

Calls 2

loggerFactoryFunction · 0.85
getDeviceCountFunction · 0.70

Tested by

no test coverage detected