Skip to content

Commit 3987f3a

Browse files
authored
[SYCL][E2E] Add XFAIL for fpga to OCL_interop_test.cpp (#16916)
Add `XFAIL: accelerator` to `OCL_interop_test.cpp` because of [this](https://github.com/intel/llvm/actions/runs/13187415776/job/36814982904) and remove a rogue print statement meant for debugging purposes during development which is most likely unrelated to the failure. An issue for the failure has also been created #16914
1 parent c2dc01d commit 3987f3a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sycl/test-e2e/DeviceImageBackendContent/OCL_interop_test.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
// REQUIRES: opencl, opencl_icd, aspect-usm_shared_allocations
22
// RUN: %{build} %opencl_lib -fno-sycl-dead-args-optimization -o %t.out
33
// RUN: %{run} %t.out
4+
// XFAIL: accelerator
5+
// XFAIL-TRACKER: https://github.com/intel/llvm/issues/16914
46
//
57
#include <sycl/backend.hpp>
68
#include <sycl/detail/cl.h>
@@ -53,13 +55,11 @@ int main() {
5355
const sycl::device_image<sycl::bundle_state::executable> &img =
5456
*(exe_bndl.begin());
5557
bytes = img.ext_oneapi_get_backend_content();
56-
std::cout << bytes.size() << std::endl;
5758
auto clContext = sycl::get_native<sycl::backend::opencl>(ctxt);
5859
auto clDevice = sycl::get_native<sycl::backend::opencl>(d);
59-
6060
cl_int status;
6161
auto clProgram = clCreateProgramWithIL(
62-
clContext, reinterpret_cast<unsigned char *>(bytes.data()), bytes.size(),
62+
clContext, reinterpret_cast<const void *>(bytes.data()), bytes.size(),
6363
&status);
6464
assert(status == CL_SUCCESS);
6565
status = clBuildProgram(clProgram, 1, &clDevice, "", nullptr, nullptr);

0 commit comments

Comments
 (0)