MCPcopy Create free account
hub / github.com/RenderKit/oidn / USMBuffer

Method USMBuffer

core/buffer.cpp:98–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96 // -----------------------------------------------------------------------------------------------
97
98 USMBuffer::USMBuffer(Engine* engine)
99 : engine(engine),
100 ptr(nullptr),
101 byteSize(0),
102 shared(true),
103 storage(Storage::Undefined)
104 {}
105
106 USMBuffer::USMBuffer(Engine* engine, size_t byteSize, Storage storage)
107 : engine(engine),

Callers

nothing calls this directly

Calls 10

ExceptionFunction · 0.85
getHeapMethod · 0.80
getDeviceFunction · 0.70
usmAllocMethod · 0.45
getPtrStorageMethod · 0.45
getDeviceMethod · 0.45
getEngineMethod · 0.45
getStorageMethod · 0.45
getByteSizeMethod · 0.45

Tested by

no test coverage detected