From 271eb5cdaa616fccc7c7504fd1ceeefe8a12154a Mon Sep 17 00:00:00 2001 From: Vladimir Lazarev Date: Fri, 15 Feb 2019 11:46:18 +0300 Subject: [PATCH] [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 --- sycl/test/struct_param/struct_kernel_param.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sycl/test/struct_param/struct_kernel_param.cpp b/sycl/test/struct_param/struct_kernel_param.cpp index 7ff7cb005f83c..9f08e1ac89374 100644 --- a/sycl/test/struct_param/struct_kernel_param.cpp +++ b/sycl/test/struct_param/struct_kernel_param.cpp @@ -1,7 +1,8 @@ // RUN: %clang -std=c++11 -fsycl %s -o %t.out -lstdc++ -lOpenCL -lsycl // RUN: env SYCL_DEVICE_TYPE=HOST %t.out // RUN: %CPU_RUN_PLACEHOLDER %t.out -// RUN: %GPU_RUN_PLACEHOLDER %t.out +// TODO: Uncomment once test is fixed on GPU +// RUNx: %GPU_RUN_PLACEHOLDER %t.out // RUN: %ACC_RUN_PLACEHOLDER %t.out //==-struct_kernel_param.cpp-Checks passing structs as kernel params--------==// @@ -12,7 +13,6 @@ // //===----------------------------------------------------------------------===// -// XFAIL: * #include #include #include