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 #1446

Merged
merged 2 commits into from
Dec 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/assignment_atomic64_generic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
// RUN: %GPU_RUN_PLACEHOLDER %t.out
// RUN: %ACC_RUN_PLACEHOLDER %t.out

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

#include "assignment.h"
#include <iostream>
Expand Down
4 changes: 2 additions & 2 deletions SYCL/AtomicRef/assignment_generic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
// RUN: %GPU_RUN_PLACEHOLDER %t.out
// RUN: %ACC_RUN_PLACEHOLDER %t.out

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

#include "assignment.h"
#include <iostream>
Expand Down
4 changes: 2 additions & 2 deletions SYCL/AtomicRef/compare_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 has had no support for the generic address space yet
// XFAIL: hip

#include "compare_exchange.h"

Expand Down
4 changes: 2 additions & 2 deletions SYCL/AtomicRef/compare_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 has 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/load_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 has had no support for the generic address space yet
// XFAIL: hip

#include "load.h"

Expand Down
4 changes: 2 additions & 2 deletions SYCL/AtomicRef/load_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 backend has had no support for the generic address space yet.
// XFAIL: cuda, hip
// HIP backend has 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/max_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 has had no support for the generic address space yet
// XFAIL: hip

#include "max.h"

Expand Down
4 changes: 2 additions & 2 deletions SYCL/AtomicRef/max_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 has 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/max_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 has had no support for the generic address space yet.
// HIP dees 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/max_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 has 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/min_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 has had no support for the generic address space yet
// XFAIL: hip

#include "min.h"

Expand Down
4 changes: 2 additions & 2 deletions SYCL/AtomicRef/min_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 has 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/min_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 has 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/min_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 has 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/store_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 no support for the generic address space yet
// XFAIL: cuda, hip
// HIP backend has no support for the generic address space yet
// XFAIL: hip

#include "store.h"

Expand Down
4 changes: 2 additions & 2 deletions SYCL/AtomicRef/store_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 no support for the generic address space yet.
// XFAIL: cuda, hip
// HIP backend has no support for the generic address space yet
// XFAIL: hip

#define TEST_GENERIC_IN_LOCAL 1

Expand Down