| 70 | } |
| 71 | |
| 72 | static hip_stream_ptr get_stream() |
| 73 | { |
| 74 | hipStream_t stream; |
| 75 | |
| 76 | auto status = hipStreamCreate(&stream); |
| 77 | if(status != hipSuccess) |
| 78 | { |
| 79 | MIGRAPHX_THROW("Failed to get stream"); |
| 80 | } |
| 81 | |
| 82 | return hip_stream_ptr{stream}; |
| 83 | } |
| 84 | |
| 85 | TEST_CASE(test_stream_sync_compare_kernel) |
| 86 | { |