alpaka integration.
More...
|
| template<typename Queue> |
| static requires ::alpaka::isQueue< Queue > void | wait_for (Queue &queue) |
| | Suspends the current TBB task until all the work in a given alpaka queue is complete.
|
◆ wait_for()
template<typename Queue>
| requires ::alpaka::isQueue< Queue > void coopsync_tbb::alpaka::wait_for |
( |
Queue & | queue | ) |
|
|
inlinestatic |
Suspends the current TBB task until all the work in a given alpaka queue is complete.
- Parameters
-
| queue | The alpaka queue to wait for. |
- Exceptions
-
| std::exception | Rethrows any exception thrown by the alpaka enqueue operation. |
- Note
- In case of error during enqueue, the task is resumed immediately and the exception is rethrown.
- Template Parameters
-
| Queue | A type fulfilling the alpaka queue requirements. |