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

Method newHeap

core/engine.cpp:16–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14 }
15
16 Ref<Heap> Engine::newHeap(size_t byteSize, Storage storage)
17 {
18 return makeRef<USMHeap>(this, byteSize, storage);
19 }
20
21 // Returns the actual size and required alignment of a buffer allocated from a heap/arena
22 SizeAndAlignment Engine::getBufferByteSizeAndAlignment(size_t byteSize, Storage storage)

Callers 1

attachMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected