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

Method commit

core/device.cpp:224–245  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

222 }
223
224 void Device::commit()
225 {
226 if (isCommitted())
227 throw Exception(Error::InvalidOperation, "device can be committed only once");
228
229 if (isVerbose())
230 {
231 std::cout << std::endl;
232 std::cout << "Intel(R) Open Image Denoise " << OIDN_VERSION_STRING << std::endl;
233 std::cout << " Compiler : " << getCompilerName() << std::endl;
234 std::cout << " Build : " << getBuildName() << std::endl;
235 std::cout << " OS : " << getOSName() << std::endl;
236 }
237
238 init();
239
240 if (isVerbose())
241 std::cout << std::endl;
242
243 dirty = false;
244 committed = true;
245 }
246
247 void Device::checkCommitted()
248 {

Callers 13

planAllocsMethod · 0.45
runBenchmarkFunction · 0.45
mainFunction · 0.45
makeAndCommitDeviceFunction · 0.45
oidnTest.cppFile · 0.45
imageSizeTestFunction · 0.45
sanitizationTestFunction · 0.45
progressTestFunction · 0.45
mainFunction · 0.45
oidnCommitDeviceFunction · 0.45

Calls 6

ExceptionFunction · 0.85
isVerboseFunction · 0.85
getCompilerNameFunction · 0.85
getBuildNameFunction · 0.85
getOSNameFunction · 0.85
initFunction · 0.85

Tested by 6

makeAndCommitDeviceFunction · 0.36
imageSizeTestFunction · 0.36
sanitizationTestFunction · 0.36
progressTestFunction · 0.36