diff --git a/sycl/test-e2e/AtomicRef/add.cpp b/sycl/test-e2e/AtomicRef/add.cpp index 7802e683f5da3..bdd65b26872b1 100644 --- a/sycl/test-e2e/AtomicRef/add.cpp +++ b/sycl/test-e2e/AtomicRef/add.cpp @@ -1,5 +1,8 @@ -// RUN: %if arch-intel_gpu_cri %{ %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.out %} -// RUN: %if arch-intel_gpu_cri %{ %{run} %t.out %} +// REQUIRES: arch-intel_gpu_cri +// UNSUPPORTED: any-target-is-nvidia, any-target-is-amd, spirv-backend +// UNSUPPORTED-INTENDED: only supported by backends with atomic16 support +// RUN: %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator=spir64 -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.cri.out +// RUN: %{run} %t.cri.out // RUN: %{build} -o %t.out // RUN: %{run} %t.out diff --git a/sycl/test-e2e/AtomicRef/add_generic.cpp b/sycl/test-e2e/AtomicRef/add_generic.cpp index c0daeffa2dfb6..b3d19ba658175 100644 --- a/sycl/test-e2e/AtomicRef/add_generic.cpp +++ b/sycl/test-e2e/AtomicRef/add_generic.cpp @@ -1,5 +1,8 @@ -// RUN: %if arch-intel_gpu_cri %{ %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.out %} -// RUN: %if arch-intel_gpu_cri %{ %{run} %t.out %} +// REQUIRES: arch-intel_gpu_cri +// UNSUPPORTED: any-target-is-nvidia, any-target-is-amd, spirv-backend +// UNSUPPORTED-INTENDED: only supported by backends with atomic16 support +// RUN: %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator=spir64 -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.cri.out +// RUN: %{run} %t.cri.out // RUN: %{build} -o %t.out // RUN: %{run} %t.out diff --git a/sycl/test-e2e/AtomicRef/add_generic_local.cpp b/sycl/test-e2e/AtomicRef/add_generic_local.cpp index 6f01649edd42f..f8b603c299104 100644 --- a/sycl/test-e2e/AtomicRef/add_generic_local.cpp +++ b/sycl/test-e2e/AtomicRef/add_generic_local.cpp @@ -1,5 +1,8 @@ -// RUN: %if arch-intel_gpu_cri %{ %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.out %} -// RUN: %if arch-intel_gpu_cri %{ %{run} %t.out %} +// REQUIRES: arch-intel_gpu_cri +// UNSUPPORTED: any-target-is-nvidia, any-target-is-amd, spirv-backend +// UNSUPPORTED-INTENDED: only supported by backends with atomic16 support +// RUN: %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator=spir64 -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.cri.out +// RUN: %{run} %t.cri.out // RUN: %{build} -o %t.out // RUN: %{run} %t.out diff --git a/sycl/test-e2e/AtomicRef/add_local.cpp b/sycl/test-e2e/AtomicRef/add_local.cpp index 08f4821377d18..691e0fe49c0d8 100644 --- a/sycl/test-e2e/AtomicRef/add_local.cpp +++ b/sycl/test-e2e/AtomicRef/add_local.cpp @@ -1,5 +1,8 @@ -// RUN: %if arch-intel_gpu_cri %{ %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.out %} -// RUN: %if arch-intel_gpu_cri %{ %{run} %t.out %} +// REQUIRES: arch-intel_gpu_cri +// UNSUPPORTED: any-target-is-nvidia, any-target-is-amd, spirv-backend +// UNSUPPORTED-INTENDED: only supported by backends with atomic16 support +// RUN: %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator=spir64 -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.cri.out +// RUN: %{run} %t.cri.out // RUN: %{build} -o %t.out // RUN: %{run} %t.out diff --git a/sycl/test-e2e/AtomicRef/and.cpp b/sycl/test-e2e/AtomicRef/and.cpp index 65727d3fb6911..14a14924a594a 100644 --- a/sycl/test-e2e/AtomicRef/and.cpp +++ b/sycl/test-e2e/AtomicRef/and.cpp @@ -1,5 +1,8 @@ -// RUN: %if arch-intel_gpu_cri %{ %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.out %} -// RUN: %if arch-intel_gpu_cri %{ %{run} %t.out %} +// REQUIRES: arch-intel_gpu_cri +// UNSUPPORTED: any-target-is-nvidia, any-target-is-amd, spirv-backend +// UNSUPPORTED-INTENDED: only supported by backends with atomic16 support +// RUN: %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator=spir64 -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.cri.out +// RUN: %{run} %t.cri.out // RUN: %{build} -o %t.out // RUN: %{run} %t.out diff --git a/sycl/test-e2e/AtomicRef/and_generic.cpp b/sycl/test-e2e/AtomicRef/and_generic.cpp index 6d66db127035c..12ed3f41c07a7 100644 --- a/sycl/test-e2e/AtomicRef/and_generic.cpp +++ b/sycl/test-e2e/AtomicRef/and_generic.cpp @@ -1,9 +1,12 @@ -// RUN: %if arch-intel_gpu_cri %{ %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.out %} -// RUN: %if arch-intel_gpu_cri %{ %{run} %t.out %} - -// RUN: %{build} -o %t.out -// RUN: %{run} %t.out - -#include "and.h" - -int main() { and_test_all(); } +// REQUIRES: arch-intel_gpu_cri +// UNSUPPORTED: any-target-is-nvidia, any-target-is-amd, spirv-backend +// UNSUPPORTED-INTENDED: only supported by backends with atomic16 support +// RUN: %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator=spir64 -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.cri.out +// RUN: %{run} %t.cri.out + +// RUN: %{build} -o %t.out +// RUN: %{run} %t.out + +#include "and.h" + +int main() { and_test_all(); } diff --git a/sycl/test-e2e/AtomicRef/and_generic_local.cpp b/sycl/test-e2e/AtomicRef/and_generic_local.cpp index 81ade861d75a7..d7aba1b38ddca 100644 --- a/sycl/test-e2e/AtomicRef/and_generic_local.cpp +++ b/sycl/test-e2e/AtomicRef/and_generic_local.cpp @@ -1,11 +1,14 @@ -// RUN: %if arch-intel_gpu_cri %{ %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.out %} -// RUN: %if arch-intel_gpu_cri %{ %{run} %t.out %} - -// RUN: %{build} -o %t.out -// RUN: %{run} %t.out - -#define TEST_GENERIC_IN_LOCAL 1 - -#include "and.h" - -int main() { and_test_all(); } +// REQUIRES: arch-intel_gpu_cri +// UNSUPPORTED: any-target-is-nvidia, any-target-is-amd, spirv-backend +// UNSUPPORTED-INTENDED: only supported by backends with atomic16 support +// RUN: %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator=spir64 -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.cri.out +// RUN: %{run} %t.cri.out + +// RUN: %{build} -o %t.out +// RUN: %{run} %t.out + +#define TEST_GENERIC_IN_LOCAL 1 + +#include "and.h" + +int main() { and_test_all(); } diff --git a/sycl/test-e2e/AtomicRef/and_local.cpp b/sycl/test-e2e/AtomicRef/and_local.cpp index f1ecbd01e1f51..44c82cce8e71a 100644 --- a/sycl/test-e2e/AtomicRef/and_local.cpp +++ b/sycl/test-e2e/AtomicRef/and_local.cpp @@ -1,5 +1,8 @@ -// RUN: %if arch-intel_gpu_cri %{ %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.out %} -// RUN: %if arch-intel_gpu_cri %{ %{run} %t.out %} +// REQUIRES: arch-intel_gpu_cri +// UNSUPPORTED: any-target-is-nvidia, any-target-is-amd, spirv-backend +// UNSUPPORTED-INTENDED: only supported by backends with atomic16 support +// RUN: %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator=spir64 -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.cri.out +// RUN: %{run} %t.cri.out // RUN: %{build} -o %t.out // RUN: %{run} %t.out diff --git a/sycl/test-e2e/AtomicRef/atomic_ref.cpp b/sycl/test-e2e/AtomicRef/atomic_ref.cpp index f6ed0fde6f18a..e00fc2692ebcb 100644 --- a/sycl/test-e2e/AtomicRef/atomic_ref.cpp +++ b/sycl/test-e2e/AtomicRef/atomic_ref.cpp @@ -1,9 +1,11 @@ // REQUIRES: arch-intel_gpu_cri +// RUN: %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator=spir64 -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.cri.out +// RUN: %{run} %t.cri.out -// RUN: %{build} -Xclang -freg-struct-return -Xspirv-translator=spir64 --spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.out +// RUN: %{build} -o %t.out // RUN: %{run} %t.out -// UNSUPPORTED: target-nvidia, target-amd, spirv-backend +// UNSUPPORTED: any-target-is-nvidia, any-target-is-amd, spirv-backend // UNSUPPORTED-INTENDED: only supported by backends with atomic16 support #include @@ -147,22 +149,30 @@ int main() { int ret = test_atomic_sub(); ret |= test_atomic_sub(); ret |= test_atomic_sub(); +#ifdef FULL_ATOMIC16_COVERAGE ret |= test_atomic_sub(); +#endif ret |= test_atomic_add(); ret |= test_atomic_add(); ret |= test_atomic_add(); +#ifdef FULL_ATOMIC16_COVERAGE ret |= test_atomic_add(); +#endif ret |= test_atomic_min(); ret |= test_atomic_min(); ret |= test_atomic_min(); +#ifdef FULL_ATOMIC16_COVERAGE ret |= test_atomic_min(); +#endif ret |= test_atomic_max(); ret |= test_atomic_max(); ret |= test_atomic_max(); +#ifdef FULL_ATOMIC16_COVERAGE ret |= test_atomic_max(); +#endif ret |= test_atomic_or(); ret |= test_atomic_or(); diff --git a/sycl/test-e2e/AtomicRef/compare_exchange.cpp b/sycl/test-e2e/AtomicRef/compare_exchange.cpp index 4daa144cb981d..87b30c5a2f88b 100644 --- a/sycl/test-e2e/AtomicRef/compare_exchange.cpp +++ b/sycl/test-e2e/AtomicRef/compare_exchange.cpp @@ -1,5 +1,8 @@ -// RUN: %if arch-intel_gpu_cri %{ %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.out %} -// RUN: %if arch-intel_gpu_cri %{ %{run} %t.out %} +// REQUIRES: arch-intel_gpu_cri +// UNSUPPORTED: any-target-is-nvidia, any-target-is-amd, spirv-backend +// UNSUPPORTED-INTENDED: only supported by backends with atomic16 support +// RUN: %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator=spir64 -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.cri.out +// RUN: %{run} %t.cri.out // RUN: %{build} -o %t.out // RUN: %{run} %t.out diff --git a/sycl/test-e2e/AtomicRef/compare_exchange_generic.cpp b/sycl/test-e2e/AtomicRef/compare_exchange_generic.cpp index 82aee0bc6117c..90655c0bb5ee4 100644 --- a/sycl/test-e2e/AtomicRef/compare_exchange_generic.cpp +++ b/sycl/test-e2e/AtomicRef/compare_exchange_generic.cpp @@ -1,5 +1,8 @@ -// RUN: %if arch-intel_gpu_cri %{ %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.out %} -// RUN: %if arch-intel_gpu_cri %{ %{run} %t.out %} +// REQUIRES: arch-intel_gpu_cri +// UNSUPPORTED: any-target-is-nvidia, any-target-is-amd, spirv-backend +// UNSUPPORTED-INTENDED: only supported by backends with atomic16 support +// RUN: %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator=spir64 -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.cri.out +// RUN: %{run} %t.cri.out // RUN: %{build} -o %t.out // RUN: %{run} %t.out diff --git a/sycl/test-e2e/AtomicRef/compare_exchange_generic_local.cpp b/sycl/test-e2e/AtomicRef/compare_exchange_generic_local.cpp index b59c50aba2b70..e1e900bd7c8f9 100644 --- a/sycl/test-e2e/AtomicRef/compare_exchange_generic_local.cpp +++ b/sycl/test-e2e/AtomicRef/compare_exchange_generic_local.cpp @@ -1,5 +1,8 @@ -// RUN: %if arch-intel_gpu_cri %{ %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.out %} -// RUN: %if arch-intel_gpu_cri %{ %{run} %t.out %} +// REQUIRES: arch-intel_gpu_cri +// UNSUPPORTED: any-target-is-nvidia, any-target-is-amd, spirv-backend +// UNSUPPORTED-INTENDED: only supported by backends with atomic16 support +// RUN: %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator=spir64 -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.cri.out +// RUN: %{run} %t.cri.out // RUN: %{build} -o %t.out // RUN: %{run} %t.out diff --git a/sycl/test-e2e/AtomicRef/compare_exchange_local.cpp b/sycl/test-e2e/AtomicRef/compare_exchange_local.cpp index fd4e907fb9536..72e94927f2aeb 100644 --- a/sycl/test-e2e/AtomicRef/compare_exchange_local.cpp +++ b/sycl/test-e2e/AtomicRef/compare_exchange_local.cpp @@ -1,5 +1,8 @@ -// RUN: %if arch-intel_gpu_cri %{ %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.out %} -// RUN: %if arch-intel_gpu_cri %{ %{run} %t.out %} +// REQUIRES: arch-intel_gpu_cri +// UNSUPPORTED: any-target-is-nvidia, any-target-is-amd, spirv-backend +// UNSUPPORTED-INTENDED: only supported by backends with atomic16 support +// RUN: %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator=spir64 -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.cri.out +// RUN: %{run} %t.cri.out // RUN: %{build} -o %t.out // RUN: %{run} %t.out diff --git a/sycl/test-e2e/AtomicRef/exchange.cpp b/sycl/test-e2e/AtomicRef/exchange.cpp index 740b94316cc5b..e5ce8d2fb719b 100644 --- a/sycl/test-e2e/AtomicRef/exchange.cpp +++ b/sycl/test-e2e/AtomicRef/exchange.cpp @@ -1,5 +1,8 @@ -// RUN: %if arch-intel_gpu_cri %{ %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.out %} -// RUN: %if arch-intel_gpu_cri %{ %{run} %t.out %} +// REQUIRES: arch-intel_gpu_cri +// UNSUPPORTED: any-target-is-nvidia, any-target-is-amd, spirv-backend +// UNSUPPORTED-INTENDED: only supported by backends with atomic16 support +// RUN: %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator=spir64 -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.cri.out +// RUN: %{run} %t.cri.out // RUN: %{build} -o %t.out // RUN: %{run} %t.out diff --git a/sycl/test-e2e/AtomicRef/exchange_generic.cpp b/sycl/test-e2e/AtomicRef/exchange_generic.cpp index 92eeadea1b5af..bb736bace6239 100644 --- a/sycl/test-e2e/AtomicRef/exchange_generic.cpp +++ b/sycl/test-e2e/AtomicRef/exchange_generic.cpp @@ -1,5 +1,8 @@ -// RUN: %if arch-intel_gpu_cri %{ %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.out %} -// RUN: %if arch-intel_gpu_cri %{ %{run} %t.out %} +// REQUIRES: arch-intel_gpu_cri +// UNSUPPORTED: any-target-is-nvidia, any-target-is-amd, spirv-backend +// UNSUPPORTED-INTENDED: only supported by backends with atomic16 support +// RUN: %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator=spir64 -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.cri.out +// RUN: %{run} %t.cri.out // RUN: %{build} -o %t.out // RUN: %{run} %t.out diff --git a/sycl/test-e2e/AtomicRef/exchange_generic_local.cpp b/sycl/test-e2e/AtomicRef/exchange_generic_local.cpp index 8a24fbc95aa81..74a8015ffce6e 100644 --- a/sycl/test-e2e/AtomicRef/exchange_generic_local.cpp +++ b/sycl/test-e2e/AtomicRef/exchange_generic_local.cpp @@ -1,5 +1,8 @@ -// RUN: %if arch-intel_gpu_cri %{ %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.out %} -// RUN: %if arch-intel_gpu_cri %{ %{run} %t.out %} +// REQUIRES: arch-intel_gpu_cri +// UNSUPPORTED: any-target-is-nvidia, any-target-is-amd, spirv-backend +// UNSUPPORTED-INTENDED: only supported by backends with atomic16 support +// RUN: %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator=spir64 -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.cri.out +// RUN: %{run} %t.cri.out // RUN: %{build} -o %t.out // RUN: %{run} %t.out diff --git a/sycl/test-e2e/AtomicRef/exchange_local.cpp b/sycl/test-e2e/AtomicRef/exchange_local.cpp index 7d4b5faf22f26..3e07cf47aea1f 100644 --- a/sycl/test-e2e/AtomicRef/exchange_local.cpp +++ b/sycl/test-e2e/AtomicRef/exchange_local.cpp @@ -1,5 +1,8 @@ -// RUN: %if arch-intel_gpu_cri %{ %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.out %} -// RUN: %if arch-intel_gpu_cri %{ %{run} %t.out %} +// REQUIRES: arch-intel_gpu_cri +// UNSUPPORTED: any-target-is-nvidia, any-target-is-amd, spirv-backend +// UNSUPPORTED-INTENDED: only supported by backends with atomic16 support +// RUN: %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator=spir64 -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.cri.out +// RUN: %{run} %t.cri.out // RUN: %{build} -o %t.out // RUN: %{run} %t.out diff --git a/sycl/test-e2e/AtomicRef/load.cpp b/sycl/test-e2e/AtomicRef/load.cpp index f0e4e59797de3..d5d1791ef891a 100644 --- a/sycl/test-e2e/AtomicRef/load.cpp +++ b/sycl/test-e2e/AtomicRef/load.cpp @@ -1,5 +1,8 @@ -// RUN: %if arch-intel_gpu_cri %{ %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.out %} -// RUN: %if arch-intel_gpu_cri %{ %{run} %t.out %} +// REQUIRES: arch-intel_gpu_cri +// UNSUPPORTED: any-target-is-nvidia, any-target-is-amd, spirv-backend +// UNSUPPORTED-INTENDED: only supported by backends with atomic16 support +// RUN: %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator=spir64 -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.cri.out +// RUN: %{run} %t.cri.out // RUN: %{build} -o %t.out // RUN: %{run} %t.out diff --git a/sycl/test-e2e/AtomicRef/load_generic.cpp b/sycl/test-e2e/AtomicRef/load_generic.cpp index aa3559a99ccc6..e0f378f09c00d 100644 --- a/sycl/test-e2e/AtomicRef/load_generic.cpp +++ b/sycl/test-e2e/AtomicRef/load_generic.cpp @@ -1,5 +1,8 @@ -// RUN: %if arch-intel_gpu_cri %{ %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.out %} -// RUN: %if arch-intel_gpu_cri %{ %{run} %t.out %} +// REQUIRES: arch-intel_gpu_cri +// UNSUPPORTED: any-target-is-nvidia, any-target-is-amd, spirv-backend +// UNSUPPORTED-INTENDED: only supported by backends with atomic16 support +// RUN: %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator=spir64 -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.cri.out +// RUN: %{run} %t.cri.out // RUN: %{build} -o %t.out // RUN: %{run} %t.out diff --git a/sycl/test-e2e/AtomicRef/load_generic_local.cpp b/sycl/test-e2e/AtomicRef/load_generic_local.cpp index aff4bb2c7e51a..831058387a311 100644 --- a/sycl/test-e2e/AtomicRef/load_generic_local.cpp +++ b/sycl/test-e2e/AtomicRef/load_generic_local.cpp @@ -1,5 +1,8 @@ -// RUN: %if arch-intel_gpu_cri %{ %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.out %} -// RUN: %if arch-intel_gpu_cri %{ %{run} %t.out %} +// REQUIRES: arch-intel_gpu_cri +// UNSUPPORTED: any-target-is-nvidia, any-target-is-amd, spirv-backend +// UNSUPPORTED-INTENDED: only supported by backends with atomic16 support +// RUN: %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator=spir64 -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.cri.out +// RUN: %{run} %t.cri.out // RUN: %{build} -o %t.out // RUN: %{run} %t.out diff --git a/sycl/test-e2e/AtomicRef/load_local.cpp b/sycl/test-e2e/AtomicRef/load_local.cpp index 202b94aba10d4..961f93c4894ff 100644 --- a/sycl/test-e2e/AtomicRef/load_local.cpp +++ b/sycl/test-e2e/AtomicRef/load_local.cpp @@ -1,5 +1,8 @@ -// RUN: %if arch-intel_gpu_cri %{ %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.out %} -// RUN: %if arch-intel_gpu_cri %{ %{run} %t.out %} +// REQUIRES: arch-intel_gpu_cri +// UNSUPPORTED: any-target-is-nvidia, any-target-is-amd, spirv-backend +// UNSUPPORTED-INTENDED: only supported by backends with atomic16 support +// RUN: %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator=spir64 -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.cri.out +// RUN: %{run} %t.cri.out // RUN: %{build} -o %t.out // RUN: %{run} %t.out diff --git a/sycl/test-e2e/AtomicRef/max.cpp b/sycl/test-e2e/AtomicRef/max.cpp index 0503004850c7d..0ef69b134b7d7 100644 --- a/sycl/test-e2e/AtomicRef/max.cpp +++ b/sycl/test-e2e/AtomicRef/max.cpp @@ -1,5 +1,8 @@ -// RUN: %if arch-intel_gpu_cri %{ %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.out %} -// RUN: %if arch-intel_gpu_cri %{ %{run} %t.out %} +// REQUIRES: arch-intel_gpu_cri +// UNSUPPORTED: any-target-is-nvidia, any-target-is-amd, spirv-backend +// UNSUPPORTED-INTENDED: only supported by backends with atomic16 support +// RUN: %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator=spir64 -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.cri.out +// RUN: %{run} %t.cri.out // RUN: %{build} -o %t.out // RUN: %{run} %t.out diff --git a/sycl/test-e2e/AtomicRef/max_generic.cpp b/sycl/test-e2e/AtomicRef/max_generic.cpp index cb1aeebeadda8..0e136891054b2 100644 --- a/sycl/test-e2e/AtomicRef/max_generic.cpp +++ b/sycl/test-e2e/AtomicRef/max_generic.cpp @@ -1,5 +1,8 @@ -// RUN: %if arch-intel_gpu_cri %{ %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.out %} -// RUN: %if arch-intel_gpu_cri %{ %{run} %t.out %} +// REQUIRES: arch-intel_gpu_cri +// UNSUPPORTED: any-target-is-nvidia, any-target-is-amd, spirv-backend +// UNSUPPORTED-INTENDED: only supported by backends with atomic16 support +// RUN: %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator=spir64 -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.cri.out +// RUN: %{run} %t.cri.out // RUN: %{build} -o %t.out // RUN: %{run} %t.out diff --git a/sycl/test-e2e/AtomicRef/max_generic_local.cpp b/sycl/test-e2e/AtomicRef/max_generic_local.cpp index ecb4b2edddd89..2cc485b932d25 100644 --- a/sycl/test-e2e/AtomicRef/max_generic_local.cpp +++ b/sycl/test-e2e/AtomicRef/max_generic_local.cpp @@ -1,5 +1,8 @@ -// RUN: %if arch-intel_gpu_cri %{ %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.out %} -// RUN: %if arch-intel_gpu_cri %{ %{run} %t.out %} +// REQUIRES: arch-intel_gpu_cri +// UNSUPPORTED: any-target-is-nvidia, any-target-is-amd, spirv-backend +// UNSUPPORTED-INTENDED: only supported by backends with atomic16 support +// RUN: %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator=spir64 -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.cri.out +// RUN: %{run} %t.cri.out // RUN: %{build} -o %t.out // RUN: %{run} %t.out diff --git a/sycl/test-e2e/AtomicRef/max_local.cpp b/sycl/test-e2e/AtomicRef/max_local.cpp index 39925daefda65..fcade87949638 100644 --- a/sycl/test-e2e/AtomicRef/max_local.cpp +++ b/sycl/test-e2e/AtomicRef/max_local.cpp @@ -1,5 +1,8 @@ -// RUN: %if arch-intel_gpu_cri %{ %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.out %} -// RUN: %if arch-intel_gpu_cri %{ %{run} %t.out %} +// REQUIRES: arch-intel_gpu_cri +// UNSUPPORTED: any-target-is-nvidia, any-target-is-amd, spirv-backend +// UNSUPPORTED-INTENDED: only supported by backends with atomic16 support +// RUN: %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator=spir64 -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.cri.out +// RUN: %{run} %t.cri.out // RUN: %{build} -o %t.out // RUN: %{run} %t.out diff --git a/sycl/test-e2e/AtomicRef/min.cpp b/sycl/test-e2e/AtomicRef/min.cpp index d71c1d927b033..05c810d89445c 100644 --- a/sycl/test-e2e/AtomicRef/min.cpp +++ b/sycl/test-e2e/AtomicRef/min.cpp @@ -1,5 +1,8 @@ -// RUN: %if arch-intel_gpu_cri %{ %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.out %} -// RUN: %if arch-intel_gpu_cri %{ %{run} %t.out %} +// REQUIRES: arch-intel_gpu_cri +// UNSUPPORTED: any-target-is-nvidia, any-target-is-amd, spirv-backend +// UNSUPPORTED-INTENDED: only supported by backends with atomic16 support +// RUN: %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator=spir64 -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.cri.out +// RUN: %{run} %t.cri.out // RUN: %{build} -o %t.out // RUN: %{run} %t.out diff --git a/sycl/test-e2e/AtomicRef/min_generic.cpp b/sycl/test-e2e/AtomicRef/min_generic.cpp index 9acfa95858496..a0d12e4182976 100644 --- a/sycl/test-e2e/AtomicRef/min_generic.cpp +++ b/sycl/test-e2e/AtomicRef/min_generic.cpp @@ -1,5 +1,8 @@ -// RUN: %if arch-intel_gpu_cri %{ %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.out %} -// RUN: %if arch-intel_gpu_cri %{ %{run} %t.out %} +// REQUIRES: arch-intel_gpu_cri +// UNSUPPORTED: any-target-is-nvidia, any-target-is-amd, spirv-backend +// UNSUPPORTED-INTENDED: only supported by backends with atomic16 support +// RUN: %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator=spir64 -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.cri.out +// RUN: %{run} %t.cri.out // RUN: %{build} -o %t.out // RUN: %{run} %t.out diff --git a/sycl/test-e2e/AtomicRef/min_generic_local.cpp b/sycl/test-e2e/AtomicRef/min_generic_local.cpp index 87e43ffd84ffc..ebba739ba5a1b 100644 --- a/sycl/test-e2e/AtomicRef/min_generic_local.cpp +++ b/sycl/test-e2e/AtomicRef/min_generic_local.cpp @@ -1,5 +1,8 @@ -// RUN: %if arch-intel_gpu_cri %{ %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.out %} -// RUN: %if arch-intel_gpu_cri %{ %{run} %t.out %} +// REQUIRES: arch-intel_gpu_cri +// UNSUPPORTED: any-target-is-nvidia, any-target-is-amd, spirv-backend +// UNSUPPORTED-INTENDED: only supported by backends with atomic16 support +// RUN: %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator=spir64 -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.cri.out +// RUN: %{run} %t.cri.out // RUN: %{build} -o %t.out // RUN: %{run} %t.out diff --git a/sycl/test-e2e/AtomicRef/min_local.cpp b/sycl/test-e2e/AtomicRef/min_local.cpp index daafa379e8222..8971afe425978 100644 --- a/sycl/test-e2e/AtomicRef/min_local.cpp +++ b/sycl/test-e2e/AtomicRef/min_local.cpp @@ -1,5 +1,8 @@ -// RUN: %if arch-intel_gpu_cri %{ %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.out %} -// RUN: %if arch-intel_gpu_cri %{ %{run} %t.out %} +// REQUIRES: arch-intel_gpu_cri +// UNSUPPORTED: any-target-is-nvidia, any-target-is-amd, spirv-backend +// UNSUPPORTED-INTENDED: only supported by backends with atomic16 support +// RUN: %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator=spir64 -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.cri.out +// RUN: %{run} %t.cri.out // RUN: %{build} -o %t.out // RUN: %{run} %t.out diff --git a/sycl/test-e2e/AtomicRef/or.cpp b/sycl/test-e2e/AtomicRef/or.cpp index 86f9e4a82a936..5e5af73ed21c9 100644 --- a/sycl/test-e2e/AtomicRef/or.cpp +++ b/sycl/test-e2e/AtomicRef/or.cpp @@ -1,5 +1,8 @@ -// RUN: %if arch-intel_gpu_cri %{ %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.out %} -// RUN: %if arch-intel_gpu_cri %{ %{run} %t.out %} +// REQUIRES: arch-intel_gpu_cri +// UNSUPPORTED: any-target-is-nvidia, any-target-is-amd, spirv-backend +// UNSUPPORTED-INTENDED: only supported by backends with atomic16 support +// RUN: %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator=spir64 -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.cri.out +// RUN: %{run} %t.cri.out // RUN: %{build} -o %t.out // RUN: %{run} %t.out diff --git a/sycl/test-e2e/AtomicRef/or_generic.cpp b/sycl/test-e2e/AtomicRef/or_generic.cpp index d3f1fe1919c40..fea2076530d18 100644 --- a/sycl/test-e2e/AtomicRef/or_generic.cpp +++ b/sycl/test-e2e/AtomicRef/or_generic.cpp @@ -1,9 +1,12 @@ -// RUN: %if arch-intel_gpu_cri %{ %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.out %} -// RUN: %if arch-intel_gpu_cri %{ %{run} %t.out %} - -// RUN: %{build} -o %t.out -// RUN: %{run} %t.out - -#include "or.h" - -int main() { or_test_all(); } +// REQUIRES: arch-intel_gpu_cri +// UNSUPPORTED: any-target-is-nvidia, any-target-is-amd, spirv-backend +// UNSUPPORTED-INTENDED: only supported by backends with atomic16 support +// RUN: %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator=spir64 -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.cri.out +// RUN: %{run} %t.cri.out + +// RUN: %{build} -o %t.out +// RUN: %{run} %t.out + +#include "or.h" + +int main() { or_test_all(); } diff --git a/sycl/test-e2e/AtomicRef/or_generic_local.cpp b/sycl/test-e2e/AtomicRef/or_generic_local.cpp index 95aae212f6b07..c90258b55a96e 100644 --- a/sycl/test-e2e/AtomicRef/or_generic_local.cpp +++ b/sycl/test-e2e/AtomicRef/or_generic_local.cpp @@ -1,11 +1,14 @@ -// RUN: %if arch-intel_gpu_cri %{ %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.out %} -// RUN: %if arch-intel_gpu_cri %{ %{run} %t.out %} - -// RUN: %{build} -o %t.out -// RUN: %{run} %t.out - -#define TEST_GENERIC_IN_LOCAL 1 - -#include "or.h" - -int main() { or_test_all(); } +// REQUIRES: arch-intel_gpu_cri +// UNSUPPORTED: any-target-is-nvidia, any-target-is-amd, spirv-backend +// UNSUPPORTED-INTENDED: only supported by backends with atomic16 support +// RUN: %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator=spir64 -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.cri.out +// RUN: %{run} %t.cri.out + +// RUN: %{build} -o %t.out +// RUN: %{run} %t.out + +#define TEST_GENERIC_IN_LOCAL 1 + +#include "or.h" + +int main() { or_test_all(); } diff --git a/sycl/test-e2e/AtomicRef/or_local.cpp b/sycl/test-e2e/AtomicRef/or_local.cpp index ef5dc2e7738f2..fb10aaaf8ac28 100644 --- a/sycl/test-e2e/AtomicRef/or_local.cpp +++ b/sycl/test-e2e/AtomicRef/or_local.cpp @@ -1,5 +1,8 @@ -// RUN: %if arch-intel_gpu_cri %{ %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.out %} -// RUN: %if arch-intel_gpu_cri %{ %{run} %t.out %} +// REQUIRES: arch-intel_gpu_cri +// UNSUPPORTED: any-target-is-nvidia, any-target-is-amd, spirv-backend +// UNSUPPORTED-INTENDED: only supported by backends with atomic16 support +// RUN: %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator=spir64 -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.cri.out +// RUN: %{run} %t.cri.out // RUN: %{build} -o %t.out // RUN: %{run} %t.out diff --git a/sycl/test-e2e/AtomicRef/store.cpp b/sycl/test-e2e/AtomicRef/store.cpp index ed1a3d5229bd1..9e0ada8d3fa3b 100644 --- a/sycl/test-e2e/AtomicRef/store.cpp +++ b/sycl/test-e2e/AtomicRef/store.cpp @@ -1,5 +1,8 @@ -// RUN: %if arch-intel_gpu_cri %{ %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.out %} -// RUN: %if arch-intel_gpu_cri %{ %{run} %t.out %} +// REQUIRES: arch-intel_gpu_cri +// UNSUPPORTED: any-target-is-nvidia, any-target-is-amd, spirv-backend +// UNSUPPORTED-INTENDED: only supported by backends with atomic16 support +// RUN: %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator=spir64 -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.cri.out +// RUN: %{run} %t.cri.out // RUN: %{build} -o %t.out // RUN: %{run} %t.out diff --git a/sycl/test-e2e/AtomicRef/store_generic.cpp b/sycl/test-e2e/AtomicRef/store_generic.cpp index 2056e0c075e58..9586da411227b 100644 --- a/sycl/test-e2e/AtomicRef/store_generic.cpp +++ b/sycl/test-e2e/AtomicRef/store_generic.cpp @@ -1,5 +1,8 @@ -// RUN: %if arch-intel_gpu_cri %{ %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.out %} -// RUN: %if arch-intel_gpu_cri %{ %{run} %t.out %} +// REQUIRES: arch-intel_gpu_cri +// UNSUPPORTED: any-target-is-nvidia, any-target-is-amd, spirv-backend +// UNSUPPORTED-INTENDED: only supported by backends with atomic16 support +// RUN: %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator=spir64 -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.cri.out +// RUN: %{run} %t.cri.out // RUN: %{build} -o %t.out // RUN: %{run} %t.out diff --git a/sycl/test-e2e/AtomicRef/store_generic_local.cpp b/sycl/test-e2e/AtomicRef/store_generic_local.cpp index f2c0c2a9eb912..8f6c9bb99179c 100644 --- a/sycl/test-e2e/AtomicRef/store_generic_local.cpp +++ b/sycl/test-e2e/AtomicRef/store_generic_local.cpp @@ -1,5 +1,8 @@ -// RUN: %if arch-intel_gpu_cri %{ %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.out %} -// RUN: %if arch-intel_gpu_cri %{ %{run} %t.out %} +// REQUIRES: arch-intel_gpu_cri +// UNSUPPORTED: any-target-is-nvidia, any-target-is-amd, spirv-backend +// UNSUPPORTED-INTENDED: only supported by backends with atomic16 support +// RUN: %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator=spir64 -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.cri.out +// RUN: %{run} %t.cri.out // RUN: %{build} -o %t.out // RUN: %{run} %t.out diff --git a/sycl/test-e2e/AtomicRef/store_local.cpp b/sycl/test-e2e/AtomicRef/store_local.cpp index f805d2c8c57e8..bbbe89ffb05da 100644 --- a/sycl/test-e2e/AtomicRef/store_local.cpp +++ b/sycl/test-e2e/AtomicRef/store_local.cpp @@ -1,5 +1,8 @@ -// RUN: %if arch-intel_gpu_cri %{ %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.out %} -// RUN: %if arch-intel_gpu_cri %{ %{run} %t.out %} +// REQUIRES: arch-intel_gpu_cri +// UNSUPPORTED: any-target-is-nvidia, any-target-is-amd, spirv-backend +// UNSUPPORTED-INTENDED: only supported by backends with atomic16 support +// RUN: %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator=spir64 -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.cri.out +// RUN: %{run} %t.cri.out // RUN: %{build} -o %t.out // RUN: %{run} %t.out diff --git a/sycl/test-e2e/AtomicRef/sub.cpp b/sycl/test-e2e/AtomicRef/sub.cpp index 3a71ab5fcf168..058a79616a328 100644 --- a/sycl/test-e2e/AtomicRef/sub.cpp +++ b/sycl/test-e2e/AtomicRef/sub.cpp @@ -1,5 +1,8 @@ -// RUN: %if arch-intel_gpu_cri %{ %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.out %} -// RUN: %if arch-intel_gpu_cri %{ %{run} %t.out %} +// REQUIRES: arch-intel_gpu_cri +// UNSUPPORTED: any-target-is-nvidia, any-target-is-amd, spirv-backend +// UNSUPPORTED-INTENDED: only supported by backends with atomic16 support +// RUN: %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator=spir64 -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.cri.out +// RUN: %{run} %t.cri.out // RUN: %{build} -o %t.out // RUN: %{run} %t.out diff --git a/sycl/test-e2e/AtomicRef/sub_generic.cpp b/sycl/test-e2e/AtomicRef/sub_generic.cpp index aec2571efc779..560a2efce5ff9 100644 --- a/sycl/test-e2e/AtomicRef/sub_generic.cpp +++ b/sycl/test-e2e/AtomicRef/sub_generic.cpp @@ -1,5 +1,8 @@ -// RUN: %if arch-intel_gpu_cri %{ %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.out %} -// RUN: %if arch-intel_gpu_cri %{ %{run} %t.out %} +// REQUIRES: arch-intel_gpu_cri +// UNSUPPORTED: any-target-is-nvidia, any-target-is-amd, spirv-backend +// UNSUPPORTED-INTENDED: only supported by backends with atomic16 support +// RUN: %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator=spir64 -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.cri.out +// RUN: %{run} %t.cri.out // RUN: %{build} -o %t.out // RUN: %{run} %t.out diff --git a/sycl/test-e2e/AtomicRef/sub_generic_local.cpp b/sycl/test-e2e/AtomicRef/sub_generic_local.cpp index 6e138f76f6ecf..dd2ecd064dec3 100644 --- a/sycl/test-e2e/AtomicRef/sub_generic_local.cpp +++ b/sycl/test-e2e/AtomicRef/sub_generic_local.cpp @@ -1,5 +1,8 @@ -// RUN: %if arch-intel_gpu_cri %{ %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.out %} -// RUN: %if arch-intel_gpu_cri %{ %{run} %t.out %} +// REQUIRES: arch-intel_gpu_cri +// UNSUPPORTED: any-target-is-nvidia, any-target-is-amd, spirv-backend +// UNSUPPORTED-INTENDED: only supported by backends with atomic16 support +// RUN: %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator=spir64 -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.cri.out +// RUN: %{run} %t.cri.out // RUN: %{build} -o %t.out // RUN: %{run} %t.out diff --git a/sycl/test-e2e/AtomicRef/sub_local.cpp b/sycl/test-e2e/AtomicRef/sub_local.cpp index a647345e02d00..d8482a82dad2f 100644 --- a/sycl/test-e2e/AtomicRef/sub_local.cpp +++ b/sycl/test-e2e/AtomicRef/sub_local.cpp @@ -1,5 +1,8 @@ -// RUN: %if arch-intel_gpu_cri %{ %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.out %} -// RUN: %if arch-intel_gpu_cri %{ %{run} %t.out %} +// REQUIRES: arch-intel_gpu_cri +// UNSUPPORTED: any-target-is-nvidia, any-target-is-amd, spirv-backend +// UNSUPPORTED-INTENDED: only supported by backends with atomic16 support +// RUN: %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator=spir64 -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.cri.out +// RUN: %{run} %t.cri.out // RUN: %{build} -o %t.out // RUN: %{run} %t.out diff --git a/sycl/test-e2e/AtomicRef/xor.cpp b/sycl/test-e2e/AtomicRef/xor.cpp index 2a576eff33ab3..1ff5770ce4402 100644 --- a/sycl/test-e2e/AtomicRef/xor.cpp +++ b/sycl/test-e2e/AtomicRef/xor.cpp @@ -1,5 +1,8 @@ -// RUN: %if arch-intel_gpu_cri %{ %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.out %} -// RUN: %if arch-intel_gpu_cri %{ %{run} %t.out %} +// REQUIRES: arch-intel_gpu_cri +// UNSUPPORTED: any-target-is-nvidia, any-target-is-amd, spirv-backend +// UNSUPPORTED-INTENDED: only supported by backends with atomic16 support +// RUN: %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator=spir64 -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.cri.out +// RUN: %{run} %t.cri.out // RUN: %{build} -o %t.out // RUN: %{run} %t.out diff --git a/sycl/test-e2e/AtomicRef/xor_generic.cpp b/sycl/test-e2e/AtomicRef/xor_generic.cpp index 7efe83194fec7..54e7e63fa789f 100644 --- a/sycl/test-e2e/AtomicRef/xor_generic.cpp +++ b/sycl/test-e2e/AtomicRef/xor_generic.cpp @@ -1,9 +1,12 @@ -// RUN: %if arch-intel_gpu_cri %{ %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.out %} -// RUN: %if arch-intel_gpu_cri %{ %{run} %t.out %} - -// RUN: %{build} -o %t.out -// RUN: %{run} %t.out - -#include "xor.h" - -int main() { xor_test_all(); } +// REQUIRES: arch-intel_gpu_cri +// UNSUPPORTED: any-target-is-nvidia, any-target-is-amd, spirv-backend +// UNSUPPORTED-INTENDED: only supported by backends with atomic16 support +// RUN: %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator=spir64 -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.cri.out +// RUN: %{run} %t.cri.out + +// RUN: %{build} -o %t.out +// RUN: %{run} %t.out + +#include "xor.h" + +int main() { xor_test_all(); } diff --git a/sycl/test-e2e/AtomicRef/xor_generic_local.cpp b/sycl/test-e2e/AtomicRef/xor_generic_local.cpp index ba7200a7fbad0..e362d66e95920 100644 --- a/sycl/test-e2e/AtomicRef/xor_generic_local.cpp +++ b/sycl/test-e2e/AtomicRef/xor_generic_local.cpp @@ -1,11 +1,14 @@ -// RUN: %if arch-intel_gpu_cri %{ %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.out %} -// RUN: %if arch-intel_gpu_cri %{ %{run} %t.out %} - -// RUN: %{build} -o %t.out -// RUN: %{run} %t.out - -#define TEST_GENERIC_IN_LOCAL 1 - -#include "xor.h" - -int main() { xor_test_all(); } +// REQUIRES: arch-intel_gpu_cri +// UNSUPPORTED: any-target-is-nvidia, any-target-is-amd, spirv-backend +// UNSUPPORTED-INTENDED: only supported by backends with atomic16 support +// RUN: %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator=spir64 -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.cri.out +// RUN: %{run} %t.cri.out + +// RUN: %{build} -o %t.out +// RUN: %{run} %t.out + +#define TEST_GENERIC_IN_LOCAL 1 + +#include "xor.h" + +int main() { xor_test_all(); } diff --git a/sycl/test-e2e/AtomicRef/xor_local.cpp b/sycl/test-e2e/AtomicRef/xor_local.cpp index c018274f49f9b..1b91bb86d67d7 100644 --- a/sycl/test-e2e/AtomicRef/xor_local.cpp +++ b/sycl/test-e2e/AtomicRef/xor_local.cpp @@ -1,5 +1,8 @@ -// RUN: %if arch-intel_gpu_cri %{ %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.out %} -// RUN: %if arch-intel_gpu_cri %{ %{run} %t.out %} +// REQUIRES: arch-intel_gpu_cri +// UNSUPPORTED: any-target-is-nvidia, any-target-is-amd, spirv-backend +// UNSUPPORTED-INTENDED: only supported by backends with atomic16 support +// RUN: %{build} -DFULL_ATOMIC16_COVERAGE -DFULL_ATOMIC32_COVERAGE -DFULL_ATOMIC64_COVERAGE -fsycl-device-code-split=per_kernel -Xspirv-translator=spir64 -spirv-ext=+SPV_KHR_bfloat16,+SPV_INTEL_16bit_atomics -o %t.cri.out +// RUN: %{run} %t.cri.out // RUN: %{build} -o %t.out // RUN: %{run} %t.out