Skip to content

Commit acca608

Browse files
[SYCL][ESIMD][EMU] Sub-group size info in DeviceInfo PI_API (#7439)
1 parent 998656f commit acca608

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sycl/plugins/esimd_emulator/pi_esimd_emulator.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -783,10 +783,11 @@ pi_result piDeviceGetInfo(pi_device Device, pi_device_info ParamName,
783783
case PI_DEVICE_INFO_REFERENCE_COUNT:
784784
// TODO : CHECK
785785
return ReturnValue(pi_uint32{0});
786+
case PI_DEVICE_INFO_SUB_GROUP_SIZES_INTEL:
787+
return ReturnValue(size_t{1});
786788

787789
CASE_PI_UNSUPPORTED(PI_DEVICE_INFO_MAX_NUM_SUB_GROUPS)
788790
CASE_PI_UNSUPPORTED(PI_DEVICE_INFO_SUB_GROUP_INDEPENDENT_FORWARD_PROGRESS)
789-
CASE_PI_UNSUPPORTED(PI_DEVICE_INFO_SUB_GROUP_SIZES_INTEL)
790791
CASE_PI_UNSUPPORTED(PI_DEVICE_INFO_IL_VERSION)
791792

792793
// Intel-specific extensions

0 commit comments

Comments
 (0)