Skip to content

Commit 82893b2

Browse files
authored
[SYCL] Fix incorrect data type (#2394)
Signed-off-by: rbegam <[email protected]>
1 parent eb14539 commit 82893b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sycl/plugins/level_zero/pi_level_zero.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -891,7 +891,7 @@ pi_result piDeviceGetInfo(pi_device Device, pi_device_info ParamName,
891891
return ReturnValue(pi_uint64{MaxMemAllocSize});
892892
}
893893
case PI_DEVICE_INFO_GLOBAL_MEM_SIZE: {
894-
uint32_t GlobalMemSize = 0;
894+
uint64_t GlobalMemSize = 0;
895895
for (uint32_t I = 0; I < ZeAvailMemCount; I++) {
896896
GlobalMemSize += ZeDeviceMemoryProperties[I].totalSize;
897897
}

0 commit comments

Comments
 (0)