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

Function get_stream

test/api/test_gpu.cpp:58–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56using stream_ptr = MIGRAPHX_MANAGE_PTR(hipStream_t, hipStreamDestroy);
57
58static stream_ptr get_stream()
59{
60 hipStream_t stream;
61 auto err = hipStreamCreateWithFlags(&stream, 0);
62 EXPECT(err == hipSuccess);
63 return stream_ptr{stream};
64}
65
66static hip_ptr get_hip_buffer(size_t size)
67{

Callers 6

TEST_CASEFunction · 0.70
get_streamsMethod · 0.50
finishMethod · 0.50
wait_forMethod · 0.50
finish_onMethod · 0.50
get_queueMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected