Skip to content

Commit add9e23

Browse files
author
Jeff Hammond
committed
workaround Level Zero SPIR detection
1 parent d3717be commit add9e23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Cxx11/prk_sycl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ namespace prk {
5959
#if ! ( defined(TRISYCL) || defined(__HIPSYCL__) )
6060
auto device = q.get_device();
6161
auto platform = device.get_platform();
62-
std::cout << "SYCL Device: " << device.get_info<sycl::info::device::name>() << std::endl;
6362
std::cout << "SYCL Platform: " << platform.get_info<sycl::info::platform::name>() << std::endl;
63+
std::cout << "SYCL Device: " << device.get_info<sycl::info::device::name>() << std::endl;
6464
#endif
6565
}
6666

0 commit comments

Comments
 (0)