| 542 | } |
| 543 | |
| 544 | OIDN_API void oidnCommitDevice(OIDNDevice deviceC) |
| 545 | { |
| 546 | Device* device = reinterpret_cast<Device*>(deviceC); |
| 547 | OIDN_TRY |
| 548 | checkHandle(deviceC); |
| 549 | OIDN_LOCK_DEVICE(device); |
| 550 | device->commit(); |
| 551 | OIDN_CATCH_DEVICE(device) |
| 552 | } |
| 553 | |
| 554 | OIDN_API void oidnSyncDevice(OIDNDevice deviceC) |
| 555 | { |