We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec3ee3a commit f83353bCopy full SHA for f83353b
libsyclinterface/tests/test_sycl_device_aspects.cpp
@@ -24,6 +24,7 @@
24
///
25
//===----------------------------------------------------------------------===//
26
27
+#include "Config/dpctl_config.h"
28
#include "dpctl_sycl_device_interface.h"
29
#include "dpctl_sycl_device_selector_interface.h"
30
#include "dpctl_sycl_enum_types.h"
@@ -100,7 +101,9 @@ auto build_params()
100
101
102
constexpr auto param_2 =
103
get_param_list<std::pair<const char *, sycl::aspect>>(
104
+#if __SYCL_COMPILER_VERSION < __SYCL_COMPILER_2023_SWITCHOVER
105
std::make_pair("host", sycl::aspect::host),
106
+#endif
107
std::make_pair("cpu", sycl::aspect::cpu),
108
std::make_pair("gpu", sycl::aspect::gpu),
109
std::make_pair("accelerator", sycl::aspect::accelerator),
0 commit comments