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

Method newScratchArena

core/subdevice.cpp:15–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13 }
14
15 Ref<Arena> Subdevice::newScratchArena(size_t byteSize, const std::string& name)
16 {
17 if (!scratchArenaManager)
18 scratchArenaManager.reset(new ScratchArenaManager(engine.get()));
19 return makeRef<ScratchArena>(scratchArenaManager.get(), byteSize, name);
20 }
21
22 void Subdevice::trimScratch()
23 {

Callers 1

buildModelMethod · 0.80

Calls 2

resetMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected