/syclinfo

List all available information about all SYCL devices and platforms

Primary LanguageC++GNU General Public License v3.0GPL-3.0

syclinfo - a simple tool to query SYCL devices and platforms

syclinfo queries all SYCL devices and platforms for all available information. In that sense, it is the SYCL equivalent to the well-known clinfo for OpenCL. Like clinfo, syclinfo is particularly useful to quickly check the functionality of SYCL installations and devices.

Installing

syclinfo has been tested with the hipSYCL and ComputeCpp SYCL implementations. For hipSYCL, the necessary compilation steps are:

$ mkdir <build directory>; cd <build directory>
$ cmake -DCMAKE_CXX_COMPILER=syclcc <source directory>
$ make

For ComputeCpp, the process is similar but slightly more involved. Apart from setting -DCMAKE_CXX_COMPILER=compute++, the include directories must be pointed to the ComputeCpp include directories and libComputeCpp.so must be linked against.