Skip to content

Commit

Permalink
[SYCL][ESIMD][EMU] Sub-group size info in DeviceInfo PI_API (#7439)
Browse files Browse the repository at this point in the history
  • Loading branch information
dongkyunahn-intel authored Nov 17, 2022
1 parent 998656f commit acca608
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sycl/plugins/esimd_emulator/pi_esimd_emulator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -783,10 +783,11 @@ pi_result piDeviceGetInfo(pi_device Device, pi_device_info ParamName,
case PI_DEVICE_INFO_REFERENCE_COUNT:
// TODO : CHECK
return ReturnValue(pi_uint32{0});
case PI_DEVICE_INFO_SUB_GROUP_SIZES_INTEL:
return ReturnValue(size_t{1});

CASE_PI_UNSUPPORTED(PI_DEVICE_INFO_MAX_NUM_SUB_GROUPS)
CASE_PI_UNSUPPORTED(PI_DEVICE_INFO_SUB_GROUP_INDEPENDENT_FORWARD_PROGRESS)
CASE_PI_UNSUPPORTED(PI_DEVICE_INFO_SUB_GROUP_SIZES_INTEL)
CASE_PI_UNSUPPORTED(PI_DEVICE_INFO_IL_VERSION)

// Intel-specific extensions
Expand Down

0 comments on commit acca608

Please sign in to comment.