File tree Expand file tree Collapse file tree 9 files changed +20
-31
lines changed Expand file tree Collapse file tree 9 files changed +20
-31
lines changed Original file line number Diff line number Diff line change 1
- // RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
2
- // RUN: %CPU_RUN_PLACEHOLDER %t.out
3
- // RUN: %GPU_RUN_PLACEHOLDER %t.out
4
- // RUN: %ACC_RUN_PLACEHOLDER %t.out
1
+ // RUN: %{build} -o %t.out
2
+ // RUN: %{run} %t.out
5
3
// ==------------------- BasicSchedulerTests.cpp ----------------------------==//
6
4
//
7
5
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
Original file line number Diff line number Diff line change 1
1
// UNSUPPORTED: windows
2
- // RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out -lpthread
3
- // RUN: %CPU_RUN_PLACEHOLDER %t.out
4
- // RUN: %ACC_RUN_PLACEHOLDER %t.out
5
- // RUN: %GPU_RUN_PLACEHOLDER %t.out
2
+ // RUN: %{build} -o %t.out -lpthread
3
+ // RUN: %{run} %t.out
6
4
7
5
#include < sycl/sycl.hpp>
8
6
Original file line number Diff line number Diff line change 1
- // RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out %debug_option
2
- // RUN: %CPU_RUN_PLACEHOLDER %t.out
3
- // RUN: %GPU_RUN_PLACEHOLDER %t.out
1
+ // RUN: %{build} -o %t.out %debug_option
2
+ // RUN: %{run} %t.out
3
+ //
4
+ // UNSUPPORTED: accelerator
4
5
//
5
6
// ==-------------------------- DataMovement.cpp ----------------------------==//
6
7
//
Original file line number Diff line number Diff line change 1
- // RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -fsycl-dead-args-optimization %s -o %t.out
2
- // RUN: %CPU_RUN_PLACEHOLDER %t.out
3
- // RUN: %ACC_RUN_PLACEHOLDER %t.out
4
- // RUN: %GPU_RUN_PLACEHOLDER %t.out
1
+ // RUN: %{build} -fsycl-dead-args-optimization -o %t.out
2
+ // RUN: %{run} %t.out
5
3
6
4
// Expected exception is generated for OpenCL backend only.
7
5
// REQUIRES: opencl
Original file line number Diff line number Diff line change 1
- // RUN: %clangxx -fsycl -fsycl-dead-args-optimization -fsycl-targets=%sycl_triple %s -o %t.out
2
- // RUN: env SYCL_PI_TRACE=2 %CPU_RUN_PLACEHOLDER %t.out 2>&1 %CPU_CHECK_PLACEHOLDER
3
- // RUN: env SYCL_PI_TRACE=2 %GPU_RUN_PLACEHOLDER %t.out 2>&1 %GPU_CHECK_PLACEHOLDER
4
- // RUN: env SYCL_PI_TRACE=2 %ACC_RUN_PLACEHOLDER %t.out 2>&1 %ACC_CHECK_PLACEHOLDER
1
+ // RUN: %{build} -fsycl-dead-args-optimization -o %t.out
2
+ // RUN: env SYCL_PI_TRACE=2 %{run} %t.out 2>&1 | FileCheck %s
5
3
// UNSUPPORTED: hip
6
4
// ==---------------------- HostAccDestruction.cpp --------------------------==//
7
5
//
Original file line number Diff line number Diff line change 1
- // RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
2
- // RUN: env SYCL_PI_TRACE=2 %CPU_RUN_PLACEHOLDER %t.out 2>&1 %CPU_CHECK_PLACEHOLDER
3
- // RUN: env SYCL_PI_TRACE=2 %GPU_RUN_PLACEHOLDER %t.out 2>&1 %GPU_CHECK_PLACEHOLDER
4
- // RUN: env SYCL_PI_TRACE=2 %ACC_RUN_PLACEHOLDER %t.out 2>&1 %ACC_CHECK_PLACEHOLDER
1
+ // RUN: %{build} -o %t.out
2
+ // RUN: env SYCL_PI_TRACE=2 %{run} %t.out 2>&1 | FileCheck %s
5
3
//
6
4
// XFAIL: hip_nvidia
7
5
Original file line number Diff line number Diff line change 1
- // RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
2
- // RUN: env SYCL_HOST_UNIFIED_MEMORY=1 SYCL_PI_TRACE=2 %CPU_RUN_PLACEHOLDER %t.out 2>&1 %CPU_CHECK_PLACEHOLDER
3
- // RUN: env SYCL_HOST_UNIFIED_MEMORY=1 SYCL_PI_TRACE=2 %GPU_RUN_PLACEHOLDER %t.out 2>&1 %GPU_CHECK_PLACEHOLDER
1
+ // RUN: %{build} -o %t.out
2
+ // RUN: env SYCL_HOST_UNIFIED_MEMORY=1 SYCL_PI_TRACE=2 %{run} %t.out 2>&1 | FileCheck %s
4
3
//
4
+ // UNSUPPORTED: accelerator
5
5
// XFAIL: hip_nvidia
6
6
#include < cassert>
7
7
#include < cstddef>
Original file line number Diff line number Diff line change 1
- // RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
1
+ // RUN: %{build} -o %t.out
2
2
// RUN: %BE_RUN_PLACEHOLDER %t.out
3
3
//
4
4
// XFAIL: hip_nvidia
Original file line number Diff line number Diff line change 1
- // RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -fsycl-dead-args-optimization %s -o %t.out
2
- // RUN: env SYCL_PI_TRACE=2 %CPU_RUN_PLACEHOLDER %t.out 2>&1 %CPU_CHECK_PLACEHOLDER
3
- // RUN: env SYCL_PI_TRACE=2 %GPU_RUN_PLACEHOLDER %t.out 2>&1 %GPU_CHECK_PLACEHOLDER
4
- // RUN: env SYCL_PI_TRACE=2 %ACC_RUN_PLACEHOLDER %t.out 2>&1 %ACC_CHECK_PLACEHOLDER
1
+ // RUN: %{build} -fsycl-dead-args-optimization -o %t.out
2
+ // RUN: env SYCL_PI_TRACE=2 %{run} %t.out 2>&1 | FileCheck %s
5
3
//
6
4
// XFAIL: hip_nvidia
7
5
You can’t perform that action at this time.
0 commit comments