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

Commit a60d6b7

Browse files
authored
[SYCL][CUDA] Enable generic atomic tests (#1446)
Counterpart of intel/llvm#7391 This patch supersedes #929
1 parent 5f8f95b commit a60d6b7

16 files changed

+32
-32
lines changed

SYCL/AtomicRef/assignment_atomic64_generic.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
// RUN: %GPU_RUN_PLACEHOLDER %t.out
44
// RUN: %ACC_RUN_PLACEHOLDER %t.out
55

6-
// CUDA backend has had no support for the generic address space yet
7-
// XFAIL: cuda || hip
6+
// HIP backend has had no support for the generic address space yet.
7+
// XFAIL: hip
88

99
#include "assignment.h"
1010
#include <iostream>

SYCL/AtomicRef/assignment_generic.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
// RUN: %GPU_RUN_PLACEHOLDER %t.out
44
// RUN: %ACC_RUN_PLACEHOLDER %t.out
55

6-
// CUDA backend has had no support for the generic address space yet
7-
// XFAIL: cuda || hip
6+
// HIP backend has had no support for the generic address space yet
7+
// XFAIL: hip
88

99
#include "assignment.h"
1010
#include <iostream>

SYCL/AtomicRef/compare_exchange_generic.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
// RUN: %CPU_RUN_PLACEHOLDER %t.out
44
// RUN: %ACC_RUN_PLACEHOLDER %t.out
55

6-
// CUDA and HIP backends have had no support for the generic address space yet
7-
// XFAIL: cuda || hip
6+
// HIP backend has had no support for the generic address space yet
7+
// XFAIL: hip
88

99
#include "compare_exchange.h"
1010

SYCL/AtomicRef/compare_exchange_generic_local.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
// RUN: %CPU_RUN_PLACEHOLDER %t.out
44
// RUN: %ACC_RUN_PLACEHOLDER %t.out
55

6-
// CUDA and HIP backends have had no support for the generic address space yet.
7-
// XFAIL: cuda || hip
6+
// HIP backend has had no support for the generic address space yet.
7+
// XFAIL: hip
88

99
#define TEST_GENERIC_IN_LOCAL 1
1010

SYCL/AtomicRef/load_generic.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
// RUN: %CPU_RUN_PLACEHOLDER %t.out
44
// RUN: %ACC_RUN_PLACEHOLDER %t.out
55

6-
// CUDA and HIP backends have had no support for the generic address space yet
7-
// XFAIL: cuda || hip
6+
// HIP backend has had no support for the generic address space yet
7+
// XFAIL: hip
88

99
#include "load.h"
1010

SYCL/AtomicRef/load_generic_local.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
// RUN: %CPU_RUN_PLACEHOLDER %t.out
44
// RUN: %ACC_RUN_PLACEHOLDER %t.out
55

6-
// CUDA backend has had no support for the generic address space yet.
7-
// XFAIL: cuda, hip
6+
// HIP backend has had no support for the generic address space yet.
7+
// XFAIL: hip
88

99
#define TEST_GENERIC_IN_LOCAL 1
1010

SYCL/AtomicRef/max_generic.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
// RUN: %CPU_RUN_PLACEHOLDER %t.out
44
// RUN: %ACC_RUN_PLACEHOLDER %t.out
55

6-
// CUDA and HIP backends have had no support for the generic address space yet
7-
// XFAIL: cuda || hip
6+
// HIP backend has had no support for the generic address space yet
7+
// XFAIL: hip
88

99
#include "max.h"
1010

SYCL/AtomicRef/max_generic_local.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
// RUN: %CPU_RUN_PLACEHOLDER %t.out
44
// RUN: %ACC_RUN_PLACEHOLDER %t.out
55

6-
// CUDA and HIP backends have had no support for the generic address space yet.
7-
// XFAIL: cuda || hip
6+
// HIP backend has had no support for the generic address space yet.
7+
// XFAIL: hip
88

99
#define TEST_GENERIC_IN_LOCAL 1
1010

SYCL/AtomicRef/max_generic_local_native_fp.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
// RUN: %CPU_RUN_PLACEHOLDER %t.out
44
// RUN: %ACC_RUN_PLACEHOLDER %t.out
55

6-
// CUDA and HIP backends have had no support for the generic address space yet.
6+
// HIP backend has had no support for the generic address space yet.
77
// HIP dees not support native floating point atomics
8-
// XFAIL: cuda, hip
8+
// XFAIL: hip
99

1010
#define SYCL_USE_NATIVE_FP_ATOMICS
1111
#define FP_TESTS_ONLY

SYCL/AtomicRef/max_generic_native_fp.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
// RUN: %CPU_RUN_PLACEHOLDER %t.out
44
// RUN: %ACC_RUN_PLACEHOLDER %t.out
55

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

1010
#define SYCL_USE_NATIVE_FP_ATOMICS
1111
#define FP_TESTS_ONLY

SYCL/AtomicRef/min_generic.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
// RUN: %CPU_RUN_PLACEHOLDER %t.out
44
// RUN: %ACC_RUN_PLACEHOLDER %t.out
55

6-
// CUDA and HIP backends have had no support for the generic address space yet
7-
// XFAIL: cuda || hip
6+
// HIP backend has had no support for the generic address space yet
7+
// XFAIL: hip
88

99
#include "min.h"
1010

SYCL/AtomicRef/min_generic_local.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
// RUN: %CPU_RUN_PLACEHOLDER %t.out
44
// RUN: %ACC_RUN_PLACEHOLDER %t.out
55

6-
// CUDA and HIP backends have had no support for the generic address space yet.
7-
// XFAIL: cuda || hip
6+
// HIP backend has had no support for the generic address space yet
7+
// XFAIL: hip
88

99
#define TEST_GENERIC_IN_LOCAL 1
1010

SYCL/AtomicRef/min_generic_local_native_fp.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
// RUN: %CPU_RUN_PLACEHOLDER %t.out
44
// RUN: %ACC_RUN_PLACEHOLDER %t.out
55

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

1010
#define SYCL_USE_NATIVE_FP_ATOMICS
1111
#define FP_TESTS_ONLY

SYCL/AtomicRef/min_generic_native_fp.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
// RUN: %CPU_RUN_PLACEHOLDER %t.out
44
// RUN: %ACC_RUN_PLACEHOLDER %t.out
55

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

1010
#define SYCL_USE_NATIVE_FP_ATOMICS
1111
#define FP_TESTS_ONLY

SYCL/AtomicRef/store_generic.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
// RUN: %CPU_RUN_PLACEHOLDER %t.out
44
// RUN: %ACC_RUN_PLACEHOLDER %t.out
55

6-
// CUDA and HIP backends have no support for the generic address space yet
7-
// XFAIL: cuda, hip
6+
// HIP backend has no support for the generic address space yet
7+
// XFAIL: hip
88

99
#include "store.h"
1010

SYCL/AtomicRef/store_generic_local.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
// RUN: %CPU_RUN_PLACEHOLDER %t.out
44
// RUN: %ACC_RUN_PLACEHOLDER %t.out
55

6-
// CUDA and HIP backends have no support for the generic address space yet.
7-
// XFAIL: cuda, hip
6+
// HIP backend has no support for the generic address space yet
7+
// XFAIL: hip
88

99
#define TEST_GENERIC_IN_LOCAL 1
1010

0 commit comments

Comments
 (0)