16 #include <CL/sycl.hpp>
18 namespace Acts::Sycl {
21 for (
const sycl::platform& platform : sycl::platform::get_platforms()) {
23 std::cout <<
"============ Platform ============" << std::endl;
26 std::cout <<
" Vendor : "
27 << platform.get_info<sycl::info::platform::vendor>() << std::endl;
28 std::cout <<
" Version: "
29 << platform.get_info<sycl::info::platform::version>()
33 for (
const sycl::device& device : platform.get_devices()) {
35 std::cout <<
"------------- Device -------------" << std::endl;
38 std::cout <<
" Vendor : " << device.get_info<sycl::info::device::vendor>()
40 std::cout <<
" Version: "
41 << device.get_info<sycl::info::device::version>() << std::endl;