| 619 | } |
| 620 | |
| 621 | result omp_queue::submit_external_wait_for(const dag_node_ptr& node) { |
| 622 | HIPSYCL_DEBUG_INFO << "omp_queue: Submitting wait for external node..." |
| 623 | << std::endl; |
| 624 | |
| 625 | if (!node) { |
| 626 | return register_error( |
| 627 | __acpp_here(), |
| 628 | error_info{"omp_queue: node for synchronization is null.", |
| 629 | error_type::invalid_parameter_error}); |
| 630 | } |
| 631 | |
| 632 | _worker([=]() { node->wait(); }); |
| 633 | |
| 634 | return make_success(); |
| 635 | } |
| 636 | |
| 637 | worker_thread &omp_queue::get_worker() { return _worker; } |
| 638 |
nothing calls this directly
no test coverage detected