MCPcopy Create free account
hub / github.com/ROCm/AMDMIGraphX / get_stream

Function get_stream

test/gpu/stream_sync.cpp:72–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72static 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
85TEST_CASE(test_stream_sync_compare_kernel)
86{

Callers 1

TEST_CASEFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected