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:
Ben Goz
2015-10-19 15:49:08 +03:00
committed by Ben Goz
parent a511b7c4f7
commit 4ec82c7edd
+1 -1
View File
@@ -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)