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

Function get_hip_buffer

test/api/test_gpu.cpp:66–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64}
65
66static hip_ptr get_hip_buffer(size_t size)
67{
68 void* ptr;
69 auto err = hipMalloc(&ptr, size);
70 EXPECT(err == hipSuccess);
71 return hip_ptr{ptr};
72}
73
74// TODO: placeholder until we have a way to copy tuple arguments to/from device through c++ api
75// TEST_CASE(dynamic_batch_load_and_run)

Callers 1

TEST_CASEFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected