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

Method clear

core/graph.cpp:447–460  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

445 }
446
447 void Graph::clear()
448 {
449 if (finalized)
450 throw std::logic_error("graph cannot be cleared after finalization");
451
452 cleanup();
453 ops.clear();
454 scratch.reset();
455 scratchByteSize = 0;
456 privateByteSize = 0;
457 workAmount = 0;
458 tensorScratchByteOffset = 0;
459 dirty = false;
460 }
461
462 void Graph::finalize()
463 {

Callers 15

initMethod · 0.45
~HIPDeviceMethod · 0.45
~CUDADeviceMethod · 0.45
cleanupMethod · 0.45
resetModelMethod · 0.45
cleanupMethod · 0.45
nextMethod · 0.45
closeMethod · 0.45
assertionEndedMethod · 0.45
sectionEndedMethod · 0.45
assertionPassedMethod · 0.45
catch.hppFile · 0.45

Calls 1

resetMethod · 0.45

Tested by

no test coverage detected