Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions sycl/test-e2e/AtomicRef/add.cpp
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
// REQUIRES: arch-intel_gpu_cri
// UNSUPPORTED: any-target-is-nvidia, any-target-is-amd, spirv-backend
// UNSUPPORTED: target-nvidia, target-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
// RUN: %{build} %{full_atomic_flags} -o %t.cri.out
// RUN: %if arch-intel_gpu_cri %{ %{run} %t.cri.out %} %else %{ %{run} %t.out %}

#include "add.h"

Expand Down
9 changes: 3 additions & 6 deletions sycl/test-e2e/AtomicRef/add_generic.cpp
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
// REQUIRES: arch-intel_gpu_cri
// UNSUPPORTED: any-target-is-nvidia, any-target-is-amd, spirv-backend
// UNSUPPORTED: target-nvidia, target-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
// RUN: %{build} %{full_atomic_flags} -o %t.cri.out
// RUN: %if arch-intel_gpu_cri %{ %{run} %t.cri.out %} %else %{ %{run} %t.out %}

#include "add.h"

Expand Down
9 changes: 3 additions & 6 deletions sycl/test-e2e/AtomicRef/add_generic_local.cpp
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
// REQUIRES: arch-intel_gpu_cri
// UNSUPPORTED: any-target-is-nvidia, any-target-is-amd, spirv-backend
// UNSUPPORTED: target-nvidia, target-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
// RUN: %{build} %{full_atomic_flags} -o %t.cri.out
// RUN: %if arch-intel_gpu_cri %{ %{run} %t.cri.out %} %else %{ %{run} %t.out %}

#define TEST_GENERIC_IN_LOCAL 1

Expand Down
9 changes: 3 additions & 6 deletions sycl/test-e2e/AtomicRef/add_local.cpp
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
// REQUIRES: arch-intel_gpu_cri
// UNSUPPORTED: any-target-is-nvidia, any-target-is-amd, spirv-backend
// UNSUPPORTED: target-nvidia, target-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
// RUN: %{build} %{full_atomic_flags} -o %t.cri.out
// RUN: %if arch-intel_gpu_cri %{ %{run} %t.cri.out %} %else %{ %{run} %t.out %}

#include "add.h"

Expand Down
9 changes: 3 additions & 6 deletions sycl/test-e2e/AtomicRef/and.cpp
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
// REQUIRES: arch-intel_gpu_cri
// UNSUPPORTED: any-target-is-nvidia, any-target-is-amd, spirv-backend
// UNSUPPORTED: target-nvidia, target-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
// RUN: %{build} %{full_atomic_flags} -o %t.cri.out
// RUN: %if arch-intel_gpu_cri %{ %{run} %t.cri.out %} %else %{ %{run} %t.out %}

#include "and.h"

Expand Down
9 changes: 3 additions & 6 deletions sycl/test-e2e/AtomicRef/and_generic.cpp
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
// REQUIRES: arch-intel_gpu_cri
// UNSUPPORTED: any-target-is-nvidia, any-target-is-amd, spirv-backend
// UNSUPPORTED: target-nvidia, target-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
// RUN: %{build} %{full_atomic_flags} -o %t.cri.out
// RUN: %if arch-intel_gpu_cri %{ %{run} %t.cri.out %} %else %{ %{run} %t.out %}

#include "and.h"

Expand Down
8 changes: 3 additions & 5 deletions sycl/test-e2e/AtomicRef/and_generic_local.cpp
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
// REQUIRES: arch-intel_gpu_cri
// UNSUPPORTED: any-target-is-nvidia, any-target-is-amd, spirv-backend
// UNSUPPORTED: target-nvidia, target-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
// RUN: %{build} %{full_atomic_flags} -o %t.cri.out
// RUN: %if arch-intel_gpu_cri %{ %{run} %t.cri.out %} %else %{ %{run} %t.out %}

#define TEST_GENERIC_IN_LOCAL 1

Expand Down
9 changes: 3 additions & 6 deletions sycl/test-e2e/AtomicRef/and_local.cpp
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
// REQUIRES: arch-intel_gpu_cri
// UNSUPPORTED: any-target-is-nvidia, any-target-is-amd, spirv-backend
// UNSUPPORTED: target-nvidia, target-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
// RUN: %{build} %{full_atomic_flags} -o %t.cri.out
// RUN: %if arch-intel_gpu_cri %{ %{run} %t.cri.out %} %else %{ %{run} %t.out %}

#include "and.h"

Expand Down
7 changes: 2 additions & 5 deletions sycl/test-e2e/AtomicRef/atomic_ref.cpp
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
// 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} -o %t.out
// RUN: %{build} %{full_atomic_flags} -o %t.out
// RUN: %{run} %t.out

// UNSUPPORTED: any-target-is-nvidia, any-target-is-amd, spirv-backend
// UNSUPPORTED: target-nvidia, target-amd, spirv-backend
// UNSUPPORTED-INTENDED: only supported by backends with atomic16 support

#include <sycl/atomic_ref.hpp>
Expand Down
9 changes: 3 additions & 6 deletions sycl/test-e2e/AtomicRef/compare_exchange.cpp
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
// REQUIRES: arch-intel_gpu_cri
// UNSUPPORTED: any-target-is-nvidia, any-target-is-amd, spirv-backend
// UNSUPPORTED: target-nvidia, target-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
// RUN: %{build} %{full_atomic_flags} -o %t.cri.out
// RUN: %if arch-intel_gpu_cri %{ %{run} %t.cri.out %} %else %{ %{run} %t.out %}

#include "compare_exchange.h"

Expand Down
9 changes: 3 additions & 6 deletions sycl/test-e2e/AtomicRef/compare_exchange_generic.cpp
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
// REQUIRES: arch-intel_gpu_cri
// UNSUPPORTED: any-target-is-nvidia, any-target-is-amd, spirv-backend
// UNSUPPORTED: target-nvidia, target-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
// RUN: %{build} %{full_atomic_flags} -o %t.cri.out
// RUN: %if arch-intel_gpu_cri %{ %{run} %t.cri.out %} %else %{ %{run} %t.out %}

#include "compare_exchange.h"

Expand Down
9 changes: 3 additions & 6 deletions sycl/test-e2e/AtomicRef/compare_exchange_generic_local.cpp
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
// REQUIRES: arch-intel_gpu_cri
// UNSUPPORTED: any-target-is-nvidia, any-target-is-amd, spirv-backend
// UNSUPPORTED: target-nvidia, target-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
// RUN: %{build} %{full_atomic_flags} -o %t.cri.out
// RUN: %if arch-intel_gpu_cri %{ %{run} %t.cri.out %} %else %{ %{run} %t.out %}

#define TEST_GENERIC_IN_LOCAL 1

Expand Down
9 changes: 3 additions & 6 deletions sycl/test-e2e/AtomicRef/compare_exchange_local.cpp
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
// REQUIRES: arch-intel_gpu_cri
// UNSUPPORTED: any-target-is-nvidia, any-target-is-amd, spirv-backend
// UNSUPPORTED: target-nvidia, target-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
// RUN: %{build} %{full_atomic_flags} -o %t.cri.out
// RUN: %if arch-intel_gpu_cri %{ %{run} %t.cri.out %} %else %{ %{run} %t.out %}

#include "compare_exchange.h"

Expand Down
9 changes: 3 additions & 6 deletions sycl/test-e2e/AtomicRef/exchange.cpp
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
// REQUIRES: arch-intel_gpu_cri
// UNSUPPORTED: any-target-is-nvidia, any-target-is-amd, spirv-backend
// UNSUPPORTED: target-nvidia, target-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
// RUN: %{build} %{full_atomic_flags} -o %t.cri.out
// RUN: %if arch-intel_gpu_cri %{ %{run} %t.cri.out %} %else %{ %{run} %t.out %}

// UNSUPPORTED: hip
// UNSUPPORTED-TRACKER: https://github.com/intel/llvm/issues/15791
Expand Down
9 changes: 3 additions & 6 deletions sycl/test-e2e/AtomicRef/exchange_generic.cpp
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
// REQUIRES: arch-intel_gpu_cri
// UNSUPPORTED: any-target-is-nvidia, any-target-is-amd, spirv-backend
// UNSUPPORTED: target-nvidia, target-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
// RUN: %{build} %{full_atomic_flags} -o %t.cri.out
// RUN: %if arch-intel_gpu_cri %{ %{run} %t.cri.out %} %else %{ %{run} %t.out %}

#include "exchange.h"

Expand Down
9 changes: 3 additions & 6 deletions sycl/test-e2e/AtomicRef/exchange_generic_local.cpp
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
// REQUIRES: arch-intel_gpu_cri
// UNSUPPORTED: any-target-is-nvidia, any-target-is-amd, spirv-backend
// UNSUPPORTED: target-nvidia, target-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
// RUN: %{build} %{full_atomic_flags} -o %t.cri.out
// RUN: %if arch-intel_gpu_cri %{ %{run} %t.cri.out %} %else %{ %{run} %t.out %}

#define TEST_GENERIC_IN_LOCAL 1

Expand Down
9 changes: 3 additions & 6 deletions sycl/test-e2e/AtomicRef/exchange_local.cpp
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
// REQUIRES: arch-intel_gpu_cri
// UNSUPPORTED: any-target-is-nvidia, any-target-is-amd, spirv-backend
// UNSUPPORTED: target-nvidia, target-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
// RUN: %{build} %{full_atomic_flags} -o %t.cri.out
// RUN: %if arch-intel_gpu_cri %{ %{run} %t.cri.out %} %else %{ %{run} %t.out %}

#include "exchange.h"

Expand Down
17 changes: 17 additions & 0 deletions sycl/test-e2e/AtomicRef/lit.local.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# %{full_atomic_flags} are the extra flags needed for full atomic coverage
# (16/32/64-bit) on CRI devices. Tests build a second binary with them
# unconditionally (per-device features are not available on build lines) and
# run it only on CRI devices, see e.g. max.cpp.
# Native CPU uses no extra flags because it cannot compile bfloat16 atomics.
# Only SPIR builds use the translator; other targets reject its flags with -Werror.
config.substitutions.append(
(
"%{full_atomic_flags}",
"%if target-spir %{ "
"-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 "
"%} %else %{ %}",
)
)
9 changes: 3 additions & 6 deletions sycl/test-e2e/AtomicRef/load.cpp
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
// REQUIRES: arch-intel_gpu_cri
// UNSUPPORTED: any-target-is-nvidia, any-target-is-amd, spirv-backend
// UNSUPPORTED: target-nvidia, target-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
// RUN: %{build} %{full_atomic_flags} -o %t.cri.out
// RUN: %if arch-intel_gpu_cri %{ %{run} %t.cri.out %} %else %{ %{run} %t.out %}

#include "load.h"

Expand Down
9 changes: 3 additions & 6 deletions sycl/test-e2e/AtomicRef/load_generic.cpp
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
// REQUIRES: arch-intel_gpu_cri
// UNSUPPORTED: any-target-is-nvidia, any-target-is-amd, spirv-backend
// UNSUPPORTED: target-nvidia, target-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
// RUN: %{build} %{full_atomic_flags} -o %t.cri.out
// RUN: %if arch-intel_gpu_cri %{ %{run} %t.cri.out %} %else %{ %{run} %t.out %}

#include "load.h"

Expand Down
9 changes: 3 additions & 6 deletions sycl/test-e2e/AtomicRef/load_generic_local.cpp
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
// REQUIRES: arch-intel_gpu_cri
// UNSUPPORTED: any-target-is-nvidia, any-target-is-amd, spirv-backend
// UNSUPPORTED: target-nvidia, target-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
// RUN: %{build} %{full_atomic_flags} -o %t.cri.out
// RUN: %if arch-intel_gpu_cri %{ %{run} %t.cri.out %} %else %{ %{run} %t.out %}

#define TEST_GENERIC_IN_LOCAL 1

Expand Down
9 changes: 3 additions & 6 deletions sycl/test-e2e/AtomicRef/load_local.cpp
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
// REQUIRES: arch-intel_gpu_cri
// UNSUPPORTED: any-target-is-nvidia, any-target-is-amd, spirv-backend
// UNSUPPORTED: target-nvidia, target-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
// RUN: %{build} %{full_atomic_flags} -o %t.cri.out
// RUN: %if arch-intel_gpu_cri %{ %{run} %t.cri.out %} %else %{ %{run} %t.out %}

// UNSUPPORTED: windows && arch-intel_gpu_bmg_g21
// UNSUPPORTED-TRACKER: https://github.com/intel/llvm/issues/23415
Expand Down
9 changes: 3 additions & 6 deletions sycl/test-e2e/AtomicRef/max.cpp
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
// REQUIRES: arch-intel_gpu_cri
// UNSUPPORTED: any-target-is-nvidia, any-target-is-amd, spirv-backend
// UNSUPPORTED: target-nvidia, target-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
// RUN: %{build} %{full_atomic_flags} -o %t.cri.out
// RUN: %if arch-intel_gpu_cri %{ %{run} %t.cri.out %} %else %{ %{run} %t.out %}

#include "max.h"

Expand Down
9 changes: 3 additions & 6 deletions sycl/test-e2e/AtomicRef/max_generic.cpp
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
// REQUIRES: arch-intel_gpu_cri
// UNSUPPORTED: any-target-is-nvidia, any-target-is-amd, spirv-backend
// UNSUPPORTED: target-nvidia, target-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
// RUN: %{build} %{full_atomic_flags} -o %t.cri.out
// RUN: %if arch-intel_gpu_cri %{ %{run} %t.cri.out %} %else %{ %{run} %t.out %}

#include "max.h"

Expand Down
9 changes: 3 additions & 6 deletions sycl/test-e2e/AtomicRef/max_generic_local.cpp
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
// REQUIRES: arch-intel_gpu_cri
// UNSUPPORTED: any-target-is-nvidia, any-target-is-amd, spirv-backend
// UNSUPPORTED: target-nvidia, target-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
// RUN: %{build} %{full_atomic_flags} -o %t.cri.out
// RUN: %if arch-intel_gpu_cri %{ %{run} %t.cri.out %} %else %{ %{run} %t.out %}

#define TEST_GENERIC_IN_LOCAL 1

Expand Down
9 changes: 3 additions & 6 deletions sycl/test-e2e/AtomicRef/max_local.cpp
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
// REQUIRES: arch-intel_gpu_cri
// UNSUPPORTED: any-target-is-nvidia, any-target-is-amd, spirv-backend
// UNSUPPORTED: target-nvidia, target-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
// RUN: %{build} %{full_atomic_flags} -o %t.cri.out
// RUN: %if arch-intel_gpu_cri %{ %{run} %t.cri.out %} %else %{ %{run} %t.out %}

#include "max.h"

Expand Down
Loading
Loading