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

Function oidnSyncDevice

api/api.cpp:554–563  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

552 }
553
554 OIDN_API void oidnSyncDevice(OIDNDevice deviceC)
555 {
556 Device* device = reinterpret_cast<Device*>(deviceC);
557 OIDN_TRY
558 checkHandle(deviceC);
559 OIDN_LOCK_DEVICE(device);
560 device->checkCommitted();
561 device->waitAndThrow();
562 OIDN_CATCH_DEVICE(device)
563 }
564
565 // -----------------------------------------------------------------------------------------------
566 // Buffer

Callers 1

syncMethod · 0.85

Calls 2

checkCommittedMethod · 0.80
waitAndThrowMethod · 0.80

Tested by

no test coverage detected