File tree 1 file changed +4
-3
lines changed
source/adapters/level_zero
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -813,12 +813,13 @@ ur_result_t urKernelGetGroupInfo(
813
813
(ZeKernelDevice, &kernelProperties));
814
814
if (ZeResult || workGroupProperties.maxGroupSize == 0 ) {
815
815
return ReturnValue (
816
- uint64_t {Device->ZeDeviceComputeProperties ->maxTotalGroupSize });
816
+ size_t {Device->ZeDeviceComputeProperties ->maxTotalGroupSize });
817
817
}
818
- return ReturnValue (workGroupProperties.maxGroupSize );
818
+ // Specification states this returns a size_t.
819
+ return ReturnValue (size_t {workGroupProperties.maxGroupSize });
819
820
} else {
820
821
return ReturnValue (
821
- uint64_t {Device->ZeDeviceComputeProperties ->maxTotalGroupSize });
822
+ size_t {Device->ZeDeviceComputeProperties ->maxTotalGroupSize });
822
823
}
823
824
}
824
825
case UR_KERNEL_GROUP_INFO_COMPILE_WORK_GROUP_SIZE: {
You can’t perform that action at this time.
0 commit comments