| 790 | } |
| 791 | |
| 792 | OIDN_API void oidnSignalSemaphoresAsync(OIDNDevice deviceC, |
| 793 | const OIDNSemaphore* semaphoresC, |
| 794 | const uint64_t* values, |
| 795 | int numSemaphores) |
| 796 | { |
| 797 | Device* device = reinterpret_cast<Device*>(deviceC); |
| 798 | OIDN_TRY |
| 799 | checkHandle(deviceC); |
| 800 | OIDN_LOCK_DEVICE(device); |
| 801 | device->checkCommitted(); |
| 802 | device->submitSignalSemaphores( |
| 803 | reinterpret_cast<Semaphore* const*>(semaphoresC), |
| 804 | values, |
| 805 | numSemaphores); |
| 806 | OIDN_CATCH_DEVICE(device) |
| 807 | } |
| 808 | |
| 809 | OIDN_API void oidnWaitSemaphoresAsync(OIDNDevice deviceC, |
| 810 | const OIDNSemaphore* semaphoresC, |
no test coverage detected