From 9d35f1301b59bf04f00d470e385bc587ff34801c Mon Sep 17 00:00:00 2001 From: yanfeng xiao Date: Fri, 4 Sep 2020 19:41:42 +0800 Subject: [PATCH 1/2] [SYCL][LIT]Enable event_profiling_info.cpp test on host The event_profiling_info.cpp failed on OpenCL/level_zero due to test issue. The test need to be disabled except test on host. --- sycl/test/basic_tests/event_profiling_info.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sycl/test/basic_tests/event_profiling_info.cpp b/sycl/test/basic_tests/event_profiling_info.cpp index 1df098259828a..a446e7b9d36bc 100644 --- a/sycl/test/basic_tests/event_profiling_info.cpp +++ b/sycl/test/basic_tests/event_profiling_info.cpp @@ -1,4 +1,4 @@ -// XFAIL: * +// XFAIL: !host // RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out // // RUN: env SYCL_DEVICE_TYPE=HOST %t.out From 85e8e7178d0dcc50e0faa2d5ba377776957aa9b8 Mon Sep 17 00:00:00 2001 From: Alexey Bader Date: Fri, 4 Sep 2020 16:14:29 +0300 Subject: [PATCH 2/2] Update sycl/test/basic_tests/event_profiling_info.cpp --- sycl/test/basic_tests/event_profiling_info.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sycl/test/basic_tests/event_profiling_info.cpp b/sycl/test/basic_tests/event_profiling_info.cpp index a446e7b9d36bc..a2c65f1b99adc 100644 --- a/sycl/test/basic_tests/event_profiling_info.cpp +++ b/sycl/test/basic_tests/event_profiling_info.cpp @@ -1,4 +1,4 @@ -// XFAIL: !host +// XFAIL: cuda, opencl, level_zero // RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out // // RUN: env SYCL_DEVICE_TYPE=HOST %t.out