From d86f4e03dc2b24db336834e93d8065f5aa832357 Mon Sep 17 00:00:00 2001 From: Alexey Bader Date: Fri, 2 Oct 2020 12:37:37 +0300 Subject: [PATCH] [SYCL][NFC] Fix SYCL lit test execution on a system w/o GPU --- sycl/test/basic_tests/queue/release.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sycl/test/basic_tests/queue/release.cpp b/sycl/test/basic_tests/queue/release.cpp index c92086e5c3574..a3192fa20b89a 100644 --- a/sycl/test/basic_tests/queue/release.cpp +++ b/sycl/test/basic_tests/queue/release.cpp @@ -1,5 +1,6 @@ // RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out -// RUN: env SYCL_PI_TRACE=2 %GPU_RUN_PLACEHOLDER %t.out | FileCheck %s +// RUN: env SYCL_PI_TRACE=2 %GPU_RUN_PLACEHOLDER %t.out %GPU_CHECK_PLACEHOLDER +// REQUIRES: gpu #include int main() {