File tree Expand file tree Collapse file tree 11 files changed +21
-36
lines changed
sycl/test-e2e/DeprecatedFeatures Expand file tree Collapse file tree 11 files changed +21
-36
lines changed Original file line number Diff line number Diff line change 1- // RUN: %clangxx -D__SYCL_INTERNAL_API -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} -D__SYCL_INTERNAL_API -o %t.out
2+ // RUN: %{run} %t.out
53
64// ==------------- deprecated.cpp - SYCL 2020 deprecation test --------------==//
75//
Original file line number Diff line number Diff line change 1- // RUN: %clangxx -fsycl %s -o %t.out
2- // RUN: env ONEAPI_DEVICE_SELECTOR=level_zero:gpu %t.out
3- // RUN: env ONEAPI_DEVICE_SELECTOR=opencl:gpu %t.out
4- //
51// REQUIRES: gpu
6- // UNSUPPORTED: hip
2+ // REQUIRES: opencl || level_zero
3+ // RUN: %{build} -o %t.out
4+ // RUN: %{run} %t.out
5+ //
76// Temporarily disable on L0 due to fails in CI
87// UNSUPPORTED: level_zero
98
Original file line number Diff line number Diff line change 1- // RUN: %clangxx -fsycl %s -o %t.out
1+ // RUN: %{build} -o %t.out
22// RUN: env SYCL_DEVICE_FILTER='*' %t.out &> %t.log
33// RUN: FileCheck %s < %t.log
44//
Original file line number Diff line number Diff line change 11// REQUIRES: opencl
22
3- // RUN: %clangxx -fsycl -D__SYCL_INTERNAL_API %s -o %t.run
4- // RUN: %GPU_RUN_PLACEHOLDER %t.run
5- // RUN: %CPU_RUN_PLACEHOLDER %t.run
6- // RUN: %ACC_RUN_PLACEHOLDER %t.run
3+ // RUN: %{build} -D__SYCL_INTERNAL_API -o %t.run
4+ // RUN: %{run} %t.run
75
86// ==------------------- device_platform_interop.cpp ------------------------==//
97// The test for SYCL device and platform interop constructors
Original file line number Diff line number Diff line change 11// REQUIRES: opencl, opencl_icd
22
3- // RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -D__SYCL_INTERNAL_API %s -o %t.out %opencl_lib
4- // RUN: %CPU_RUN_PLACEHOLDER %t.out
5- // RUN: %GPU_RUN_PLACEHOLDER %t.out
6- // RUN: %ACC_RUN_PLACEHOLDER %t.out
3+ // RUN: %{build} -D__SYCL_INTERNAL_API -o %t.out %opencl_lib
4+ // RUN: %{run} %t.out
75
86// ==--------------- kernel_interop.cpp - SYCL kernel ocl interop test ------==//
97//
Original file line number Diff line number Diff line change 11// REQUIRES: opencl, opencl_icd
22
3- // RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -D__SYCL_INTERNAL_API %s -o %t.out %opencl_lib
4- // RUN: %CPU_RUN_PLACEHOLDER %t.out
5- // RUN: %GPU_RUN_PLACEHOLDER %t.out
6- // RUN: %ACC_RUN_PLACEHOLDER %t.out
3+ // RUN: %{build} -D__SYCL_INTERNAL_API -o %t.out %opencl_lib
4+ // RUN: %{run} %t.out
75
86#include < cassert>
97#include < exception>
Original file line number Diff line number Diff line change 1- // RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple - D__SYCL_INTERNAL_API %s -o %t.out
1+ // RUN: %{build} - D__SYCL_INTERNAL_API -o %t.out
22// RUN: %BE_RUN_PLACEHOLDER %t.out
33// ==--------------- platform.cpp - SYCL platform test ----------------------==//
44//
Original file line number Diff line number Diff line change 1- // RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple - D__SYCL_INTERNAL_API %s -o %t.out
1+ // RUN: %{build} - D__SYCL_INTERNAL_API -o %t.out
22// RUN: %BE_RUN_PLACEHOLDER %t.out
33//
44// hip_nvidia has problems constructing queues due to `No device of requested
Original file line number Diff line number Diff line change 11// REQUIRES: opencl, opencl_icd
22
3- // RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -D__SYCL_INTERNAL_API -o %t.out %opencl_lib
4- // RUN: %CPU_RUN_PLACEHOLDER %t.out
5- // RUN: %GPU_RUN_PLACEHOLDER %t.out
6- // RUN: %ACC_RUN_PLACEHOLDER %t.out
3+ // RUN: %{build} -D__SYCL_INTERNAL_API -o %t.out %opencl_lib
4+ // RUN: %{run} %t.out
75
86// ==--------------- sampler.cpp - SYCL sampler basic test ------------------==//
97//
Original file line number Diff line number Diff line change 11// REQUIRES: opencl, opencl_icd
22
3- // RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -D__SYCL_INTERNAL_API -o %t.out %opencl_lib -O3
4- // RUN: %CPU_RUN_PLACEHOLDER %t.out
5- // RUN: %GPU_RUN_PLACEHOLDER %t.out
6- // RUN: %ACC_RUN_PLACEHOLDER %t.out
3+ // RUN: %{build} -D__SYCL_INTERNAL_API -o %t.out %opencl_lib -O3
4+ // RUN: %{run} %t.out
75
86#include < sycl/sycl.hpp>
97
You can’t perform that action at this time.
0 commit comments