Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

[SYCL][CUDA] Enable generic atomic tests #1382

Merged
merged 1 commit into from
Nov 14, 2022
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
4 changes: 2 additions & 2 deletions SYCL/AtomicRef/add_generic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
// RUN: %CPU_RUN_PLACEHOLDER %t.out
// RUN: %ACC_RUN_PLACEHOLDER %t.out

// CUDA and HIP backends have had no support for the generic address space yet
// XFAIL: cuda || hip
// HIP backend have had no support for the generic address space yet
// XFAIL: hip

#include "add.h"

Expand Down
4 changes: 2 additions & 2 deletions SYCL/AtomicRef/add_generic_local.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
// RUN: %CPU_RUN_PLACEHOLDER %t.out
// RUN: %ACC_RUN_PLACEHOLDER %t.out

// CUDA and HIP backends have had no support for the generic address space yet.
// XFAIL: cuda || hip
// HIP backend have had no support for the generic address space yet.
// XFAIL: hip

#define TEST_GENERIC_IN_LOCAL 1

Expand Down
4 changes: 2 additions & 2 deletions SYCL/AtomicRef/add_generic_local_native_fp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
// RUN: %CPU_RUN_PLACEHOLDER %t.out
// RUN: %ACC_RUN_PLACEHOLDER %t.out

// CUDA and HIP backends have had no support for the generic address space yet.
// XFAIL: cuda, hip
// HIP backend have had no support for the generic address space yet.
// XFAIL: hip

#define SYCL_USE_NATIVE_FP_ATOMICS
#define FP_TESTS_ONLY
Expand Down
4 changes: 2 additions & 2 deletions SYCL/AtomicRef/add_generic_native_fp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
// RUN: %CPU_RUN_PLACEHOLDER %t.out
// RUN: %ACC_RUN_PLACEHOLDER %t.out

// CUDA and HIP backends have had no support for the generic address space yet.
// HIP backend have had no support for the generic address space yet.
// HIP does not support native floating point atomics
// XFAIL: cuda, hip
// XFAIL: hip

#define SYCL_USE_NATIVE_FP_ATOMICS
#define FP_TESTS_ONLY
Expand Down
4 changes: 2 additions & 2 deletions SYCL/AtomicRef/and_generic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
// RUN: %CPU_RUN_PLACEHOLDER %t.out
// RUN: %ACC_RUN_PLACEHOLDER %t.out

// CUDA and HIP backends have had no support for the generic address space yet
// XFAIL: cuda || hip
// HIP backend have had no support for the generic address space yet
// XFAIL: hip

#include "and.h"

Expand Down
4 changes: 2 additions & 2 deletions SYCL/AtomicRef/and_generic_local.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
// RUN: %CPU_RUN_PLACEHOLDER %t.out
// RUN: %ACC_RUN_PLACEHOLDER %t.out

// CUDA and HIP backends have had no support for the generic address space yet.
// XFAIL: cuda || hip
// HIP backend have had no support for the generic address space yet.
// XFAIL: hip

#define TEST_GENERIC_IN_LOCAL 1

Expand Down
4 changes: 2 additions & 2 deletions SYCL/AtomicRef/exchange_generic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
// RUN: %CPU_RUN_PLACEHOLDER %t.out
// RUN: %ACC_RUN_PLACEHOLDER %t.out

// CUDA and HIP backends have had no support for the generic address space yet
// XFAIL: cuda || hip
// HIP backend have had no support for the generic address space yet
// XFAIL: hip

#include "exchange.h"

Expand Down
4 changes: 2 additions & 2 deletions SYCL/AtomicRef/exchange_generic_local.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
// RUN: %CPU_RUN_PLACEHOLDER %t.out
// RUN: %ACC_RUN_PLACEHOLDER %t.out

// CUDA and HIP backends have had no support for the generic address space yet.
// XFAIL: cuda || hip
// HIP backend have had no support for the generic address space yet.
// XFAIL: hip

#define TEST_GENERIC_IN_LOCAL 1

Expand Down
4 changes: 2 additions & 2 deletions SYCL/AtomicRef/or_generic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
// RUN: %CPU_RUN_PLACEHOLDER %t.out
// RUN: %ACC_RUN_PLACEHOLDER %t.out

// CUDA and HIP backends have had no support for the generic address space yet
// XFAIL: cuda || hip
// HIP backend have had no support for the generic address space yet
// XFAIL: hip

#include "or.h"

Expand Down
4 changes: 2 additions & 2 deletions SYCL/AtomicRef/or_generic_local.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
// RUN: %CPU_RUN_PLACEHOLDER %t.out
// RUN: %ACC_RUN_PLACEHOLDER %t.out

// CUDA and HIP backends have had no support for the generic address space yet.
// XFAIL: cuda || hip
// HIP backend have had no support for the generic address space yet.
// XFAIL: hip

#define TEST_GENERIC_IN_LOCAL 1

Expand Down
4 changes: 2 additions & 2 deletions SYCL/AtomicRef/sub_generic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
// RUN: %CPU_RUN_PLACEHOLDER %t.out
// RUN: %ACC_RUN_PLACEHOLDER %t.out

// CUDA and HIP backends have had no support for the generic address space yet
// XFAIL: cuda || hip
// HIP backend have had no support for the generic address space yet
// XFAIL: hip

#include "sub.h"

Expand Down
4 changes: 2 additions & 2 deletions SYCL/AtomicRef/sub_generic_local.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
// RUN: %CPU_RUN_PLACEHOLDER %t.out
// RUN: %ACC_RUN_PLACEHOLDER %t.out

// CUDA and HIP backends have had no support for the generic address space yet.
// XFAIL: cuda || hip
// HIP backend have had no support for the generic address space yet.
// XFAIL: hip

#define TEST_GENERIC_IN_LOCAL 1
#include "sub.h"
Expand Down
4 changes: 2 additions & 2 deletions SYCL/AtomicRef/sub_generic_local_native_fp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
// RUN: %CPU_RUN_PLACEHOLDER %t.out
// RUN: %ACC_RUN_PLACEHOLDER %t.out

// CUDA and HIP backends have had no support for the generic address space yet.
// HIP backend have had no support for the generic address space yet.
// HIP does not support native floating point atomics
// XFAIL: cuda, hip
// XFAIL: hip

#define SYCL_USE_NATIVE_FP_ATOMICS
#define FP_TESTS_ONLY
Expand Down
4 changes: 2 additions & 2 deletions SYCL/AtomicRef/sub_generic_native_fp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
// RUN: %CPU_RUN_PLACEHOLDER %t.out
// RUN: %ACC_RUN_PLACEHOLDER %t.out

// CUDA and HIP backends have had no support for the generic address space yet.
// HIP backend have had no support for the generic address space yet.
// HIP does not support native floating point atomics
// XFAIL: cuda, hip
// XFAIL: hip

#define SYCL_USE_NATIVE_FP_ATOMICS
#define FP_TESTS_ONLY
Expand Down
4 changes: 2 additions & 2 deletions SYCL/AtomicRef/xor_generic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
// RUN: %CPU_RUN_PLACEHOLDER %t.out
// RUN: %ACC_RUN_PLACEHOLDER %t.out

// CUDA and HIP backends have had no support for the generic address space yet
// XFAIL: cuda || hip
// HIP backend have had no support for the generic address space yet
// XFAIL: hip

#include "xor.h"

Expand Down
4 changes: 2 additions & 2 deletions SYCL/AtomicRef/xor_generic_local.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
// RUN: %CPU_RUN_PLACEHOLDER %t.out
// RUN: %ACC_RUN_PLACEHOLDER %t.out

// CUDA and HIP backends have had no support for the generic address space yet.
// XFAIL: cuda || hip
// HIP backend have had no support for the generic address space yet.
// XFAIL: hip

#define TEST_GENERIC_IN_LOCAL 1

Expand Down