Skip to content

Commit

Permalink
[SYCL][E2E] KernelCompiler/multi_device.cpp REQUIREs ocloc (#15478)
Browse files Browse the repository at this point in the history
  • Loading branch information
aelovikov-intel authored Sep 25, 2024
1 parent dce9ab3 commit 9cb370a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion sycl/test-e2e/KernelCompiler/multi_device.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// REQUIRES: (opencl || level_zero)
// REQUIRES: (opencl || level_zero) && ocloc
// UNSUPPORTED: accelerator

// RUN: %{build} -o %t.out
Expand All @@ -23,6 +23,12 @@ int main() {
sycl::platform Platform;
auto Context = Platform.ext_oneapi_get_default_context();

{
auto devices = Context.get_devices();
sycl::device d = devices[0];
assert(d.ext_oneapi_cl_profile() != std::string{});
}

auto SourceKB =
sycl::ext::oneapi::experimental::create_kernel_bundle_from_source(
Context, sycl::ext::oneapi::experimental::source_language::opencl,
Expand Down

0 comments on commit 9cb370a

Please sign in to comment.