"examples/vscode:/vscode.git/clone" did not exist on "9e7aeea1b5e9d02019f0596f9639905c968f7013"
Unverified Commit d4cfdb3e authored by kahmed10's avatar kahmed10 Committed by GitHub
Browse files

rename memoryType to type (#2139)

parent 53c406bb
......@@ -55,7 +55,7 @@ bool is_device_ptr(const void* ptr)
auto status = hipPointerGetAttributes(&attr, ptr);
if(status != hipSuccess)
return false;
return attr.memoryType == hipMemoryTypeDevice;
return attr.type == hipMemoryTypeDevice;
}
std::size_t get_available_gpu_memory()
......
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