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:
Horatio Zhang
2024-09-29 02:38:45 +08:00
committed by Frank Min
parent 09f8f15d90
commit 263623c198
2 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -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,