Skip to content

[SYCL] Add capability for sycl-ls to print out all device information/descriptors #9104

Open
@mirenradia

Description

@mirenradia

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...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions