dpctl.SyclDevice exposes a number of useful attributes when scheduling kernels, but preferred_work_group_size_multiple seems to be an important information (used when choosing kernel local size) that is missing.
It is available with clinfo:
> clinfo
...
Device Name Intel(R) UHD Graphics [0x9a60]
...
Device Type GPU
...
Max work group size 512
Preferred work group size multiple 64
...
or exposed in pyopencl
dpctl.SyclDeviceexposes a number of useful attributes when scheduling kernels, butpreferred_work_group_size_multipleseems to be an important information (used when choosing kernel local size) that is missing.It is available with clinfo:
or exposed in pyopencl