| 401 | } |
| 402 | |
| 403 | result hip_queue::wait() { |
| 404 | |
| 405 | auto err = hipStreamSynchronize(_stream); |
| 406 | |
| 407 | if(err != hipSuccess) { |
| 408 | return make_error(__acpp_here(), |
| 409 | error_info{"hip_queue: Couldn't synchronize with stream", |
| 410 | error_code{"HIP", err}}); |
| 411 | } |
| 412 | |
| 413 | return make_success(); |
| 414 | } |
| 415 | |
| 416 | result hip_queue::query_status(inorder_queue_status &status) { |
| 417 | auto err = hipStreamQuery(_stream); |
no test coverage detected