Skip to content

Commit e89f7e9

Browse files
committed
[SYCL] disable struct_kernel_param test execution on GPU.
The test fails on GPU and passes on CPU. So it produces different results on systems with diffierent combinations of OpenCL devices. Disable execution on GPU devices to get stable results. Signed-off-by: Vladimir Lazarev <vladimir.lazarev@intel.com>
1 parent c4e068d commit e89f7e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sycl/test/struct_param/struct_kernel_param.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
// RUN: %clang -std=c++11 -fsycl %s -o %t.out -lstdc++ -lOpenCL -lsycl
22
// RUN: env SYCL_DEVICE_TYPE=HOST %t.out
33
// RUN: %CPU_RUN_PLACEHOLDER %t.out
4-
// RUN: %GPU_RUN_PLACEHOLDER %t.out
4+
// TODO: Uncomment once test is fixed on GPU
5+
// RUNx: %GPU_RUN_PLACEHOLDER %t.out
56
// RUN: %ACC_RUN_PLACEHOLDER %t.out
67

78
//==-struct_kernel_param.cpp-Checks passing structs as kernel params--------==//
@@ -12,7 +13,6 @@
1213
//
1314
//===----------------------------------------------------------------------===//
1415

15-
// XFAIL: *
1616
#include <CL/sycl.hpp>
1717
#include <cstring>
1818
#include <iostream>

0 commit comments

Comments
 (0)