Casting local memory size to uint64_t
Change-Id: I5c2010056b84ac01bb65361210d2a693e437050a
Signed-off-by: Ben Goz <ben.goz@amd.com>
[ROCm/ROCR-Runtime commit: 55b1a5dc43]
This commit is contained in:
@@ -447,7 +447,7 @@ topology_sysfs_get_mem_props(uint32_t node_id, uint32_t mem_id, HsaMemoryPropert
|
||||
if (strcmp(prop_name,"heap_type") == 0)
|
||||
props->HeapType = (uint32_t)prop_val;
|
||||
else if (strcmp(prop_name,"size_in_bytes") == 0)
|
||||
props->SizeInBytes = prop_val;
|
||||
props->SizeInBytes = (uint64_t)prop_val;
|
||||
else if (strcmp(prop_name,"flags") == 0)
|
||||
props->Flags.MemoryProperty = (uint32_t)prop_val;
|
||||
else if (strcmp(prop_name,"width") == 0)
|
||||
|
||||
Reference in New Issue
Block a user