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

Function makeAndCommitDevice

apps/oidnTest.cpp:37–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37DeviceRef makeAndCommitDevice()
38{
39 DeviceRef device = makeDevice();
40 device.commit();
41 REQUIRE(device.getError() == Error::None);
42 return device;
43}
44
45// -------------------------------------------------------------------------------------------------
46

Callers 1

oidnTest.cppFile · 0.85

Calls 3

makeDeviceFunction · 0.85
commitMethod · 0.45
getErrorMethod · 0.45

Tested by

no test coverage detected