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 dce9ab3 commit 9cb370aCopy full SHA for 9cb370a
sycl/test-e2e/KernelCompiler/multi_device.cpp
@@ -1,4 +1,4 @@
1
-// REQUIRES: (opencl || level_zero)
+// REQUIRES: (opencl || level_zero) && ocloc
2
// UNSUPPORTED: accelerator
3
4
// RUN: %{build} -o %t.out
@@ -23,6 +23,12 @@ int main() {
23
sycl::platform Platform;
24
auto Context = Platform.ext_oneapi_get_default_context();
25
26
+ {
27
+ auto devices = Context.get_devices();
28
+ sycl::device d = devices[0];
29
+ assert(d.ext_oneapi_cl_profile() != std::string{});
30
+ }
31
+
32
auto SourceKB =
33
sycl::ext::oneapi::experimental::create_kernel_bundle_from_source(
34
Context, sycl::ext::oneapi::experimental::source_language::opencl,
0 commit comments