Skip to content

Commit b0f0f8f

Browse files
author
iclsrc
committed
Merge from 'sycl' to 'sycl-web'
2 parents 3872c0e + ff61613 commit b0f0f8f

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

sycl/source/detail/kernel_bundle_impl.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,10 @@ class kernel_bundle_impl {
352352
"bundle_state::ext_oneapi_source required");
353353
assert(Language == syclex::source_language::opencl &&
354354
"TODO: add other Languages. Must be OpenCL");
355+
if (Language != syclex::source_language::opencl)
356+
throw sycl::exception(
357+
make_error_code(errc::invalid),
358+
"OpenCL C is the only supported language at this time");
355359

356360
// if successful, the log is empty. if failed, throws an error with the
357361
// compilation log.

sycl/test-e2e/KernelCompiler/kernel_compiler.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88

99
// REQUIRES: ocloc
1010

11+
// UNSUPPORTED: (gpu-intel-dg2 && level_zero) || (gpu-intel-pvc && level_zero)
12+
// Seems to be an incompatibility with the KernelCompiler on L0 with DG2 and
13+
// PVC.
14+
1115
// RUN: %{build} -o %t.out
1216
// RUN: %{run} %t.out
1317

sycl/test-e2e/KernelCompiler/opencl_capabilities.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88

99
// REQUIRES: ocloc
1010

11+
// UNSUPPORTED: (gpu-intel-dg2 && level_zero) || (gpu-intel-pvc && level_zero)
12+
// Seems to be an incompatibility with the KernelCompiler on L0 with DG2 and
13+
// PVC.
14+
1115
// RUN: %{build} -o %t.out
1216
// RUN: %{run} %t.out
1317

0 commit comments

Comments
 (0)