libhsakmt: Use numa_node_size64 with long long
[ROCm/ROCR-Runtime commit: ea0a3e8da4]
이 커밋은 다음에 포함됨:
커밋한 사람
Papadopoulos, Yiannis
부모
6d15779b3e
커밋
b14bb0f942
@@ -1675,7 +1675,7 @@ static void* udmabuf_allocation(uint32_t gpu_id, uint32_t node_id, uint64_t size
|
|||||||
if (bind_mem_to_numa(numa_node_id, mem, size, mflags))
|
if (bind_mem_to_numa(numa_node_id, mem, size, mflags))
|
||||||
goto error_release_aperture;
|
goto error_release_aperture;
|
||||||
|
|
||||||
node_size = numa_node_size(numa_node_id, &free_size);
|
node_size = numa_node_size64(numa_node_id, &free_size);
|
||||||
pr_debug("udmabuf_allocation: numa_node_id %d, node_size %lld, free_size %lld\n",
|
pr_debug("udmabuf_allocation: numa_node_id %d, node_size %lld, free_size %lld\n",
|
||||||
numa_node_id, node_size, free_size);
|
numa_node_id, node_size, free_size);
|
||||||
/* compare free size at numa_node_id with size */
|
/* compare free size at numa_node_id with size */
|
||||||
|
|||||||
새 이슈에서 참조
사용자 차단