wsl/hsakmt: Fix the warning about debug print
Signed-off-by: Horatio Zhang <Hongkun.Zhang@amd.com> Reviewed-by: Shane Xiao <shane.xiao@amd.com> Reviewed-by: Aaron Liu <aaron.liu@amd.com> Part-of: <http://10.67.69.192/wsl/libhsakmt/-/merge_requests/33>
This commit is contained in:
+2
-2
@@ -391,8 +391,8 @@ ErrorCode GpuMemory::ImportPhysicalHandle(int dmabuf_fd) {
|
||||
debug_print("%s query resource info from nt handle failed %d\n", __FUNCTION__, static_cast<int>(ret));
|
||||
return ErrorCode::InvalidateParams;
|
||||
}
|
||||
debug_print("wsl-rocr: import from nt handle %d, get allocation number %d,"
|
||||
" runtime data size %" PRIx64 " total driver data size %" PRIx64 "resource data size=%" PRIx64 "\n",
|
||||
debug_print("wsl-thunk: import from nt handle %d, get allocation number %d,"
|
||||
" runtime data size %#x total driver data size %#x resource data size=%#x\n",
|
||||
dmabuf_fd,
|
||||
query_args.NumAllocations,
|
||||
query_args.PrivateRuntimeDataSize,
|
||||
|
||||
Reference in New Issue
Block a user