Description
Is your feature request related to a problem? Please describe
I want to be able to check e.g. the max_work_group_size
of all available SYCL devices on my system without having to create my own mini-program just to print the output of sycl::device::get_info<sycl::info::device::max_work_group_size>()
(for a suitable device
).
Describe the solution you would like
It would be great if a flag could be passed to sycl-ls
such that all sycl::info::device::*
descriptors are printed for all detected SYCL devices on my system. This is already available with OpenSYCL using the opensycl-info
command (see source here).
Describe alternatives you have considered
I could write my own program to do this but I think this is a feature which should ship with the Intel DPC++ compiler.
Additional context
For OpenCL, there is a clinfo
command often available (source here). I'm not sure if a SYCL implementation-independent code is possible...