Commit 80587d4c authored by mei-ye's avatar mei-ye
Browse files

staging

parent 70837f1a
......@@ -18,8 +18,6 @@ hip_ptr allocate_gpu(std::size_t sz)
hipMalloc(&result, sz);
if (result == nullptr)
throw std::runtime_error("can not allocate GPU memory");
char * ptr = reinterpret_cast<char*>(result);
std::cout << "MIGraph allocated mem: [" << result << "," << ptr + sz -1 << "]" << std::endl;
return hip_ptr{result};
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment