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

Function create_external_stream

test/gpu/external_stream.cpp:41–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39using hip_stream_ptr = MIGRAPHX_MANAGE_PTR(hipStream_t, hipStreamDestroy);
40
41static hip_stream_ptr create_external_stream()
42{
43 hipStream_t stream;
44 auto status = hipStreamCreate(&stream);
45 if(status != hipSuccess)
46 MIGRAPHX_THROW("Failed to create stream");
47 return hip_stream_ptr{stream};
48}
49
50static void verify_data(const migraphx::argument& result, const migraphx::shape& s, float expected)
51{

Callers 1

TEST_CASEFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected