Skip to content

Commit cbaa76f

Browse files
denis-kabanovbb-sycl
authored andcommitted
[SYCL][HIP] Expect failure of some tests that have 'has(aspect::atomic64)' (intel#854)
* [SYCL][HIP] Disable some tests that have 'has(aspect::atomic64)' Disable some tests that have 'has(aspect::atomic64)' because hip backend does not have such check implementation * Disable Basic test with 'has(aspect::atomic64)'
1 parent 8b0203d commit cbaa76f

10 files changed

+30
-0
lines changed

SYCL/AtomicRef/add_atomic64.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
// RUN: %CPU_RUN_PLACEHOLDER %t.out
66
// RUN: %ACC_RUN_PLACEHOLDER %t.out
77

8+
// XFAIL: hip
9+
// Expected failure because hip does not have atomic64 check implementation
10+
811
#include "add.h"
912
#include <iostream>
1013
using namespace sycl;

SYCL/AtomicRef/assignment_atomic64.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
// RUN: %GPU_RUN_PLACEHOLDER %t.out
55
// RUN: %ACC_RUN_PLACEHOLDER %t.out
66

7+
// XFAIL: hip
8+
// Expected failure because hip does not have atomic64 check implementation
9+
710
#include "assignment.h"
811
#include <iostream>
912
using namespace sycl;

SYCL/AtomicRef/compare_exchange_atomic64.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
// RUN: %GPU_RUN_PLACEHOLDER %t.out
55
// RUN: %ACC_RUN_PLACEHOLDER %t.out
66

7+
// XFAIL: hip
8+
// Expected failure because hip does not have atomic64 check implementation
9+
710
#include "compare_exchange.h"
811
#include <iostream>
912
using namespace sycl;

SYCL/AtomicRef/exchange_atomic64.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
// RUN: %GPU_RUN_PLACEHOLDER %t.out
55
// RUN: %ACC_RUN_PLACEHOLDER %t.out
66

7+
// XFAIL: hip
8+
// Expected failure because hip does not have atomic64 check implementation
9+
710
#include "exchange.h"
811
#include <iostream>
912
using namespace sycl;

SYCL/AtomicRef/load_atomic64.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
// RUN: %GPU_RUN_PLACEHOLDER %t.out
55
// RUN: %ACC_RUN_PLACEHOLDER %t.out
66

7+
// XFAIL: hip
8+
// Expected failure because hip does not have atomic64 check implementation
9+
710
#include "load.h"
811
#include <iostream>
912
using namespace sycl;

SYCL/AtomicRef/max_atomic64.cpp

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

7+
// XFAIL: hip
8+
// Expected failure because hip does not have atomic64 check implementation
9+
710
#include "max.h"
811
#include <iostream>
912
using namespace sycl;

SYCL/AtomicRef/min_atomic64.cpp

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

7+
// XFAIL: hip
8+
// Expected failure because hip does not have atomic64 check implementation
9+
710
#include "min.h"
811
#include <iostream>
912
using namespace sycl;

SYCL/AtomicRef/store_atomic64.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
// RUN: %GPU_RUN_PLACEHOLDER %t.out
55
// RUN: %ACC_RUN_PLACEHOLDER %t.out
66

7+
// XFAIL: hip
8+
// Expected failure because hip does not have atomic64 check implementation
9+
710
#include "store.h"
811
#include <iostream>
912
using namespace sycl;

SYCL/AtomicRef/sub_atomic64.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
// RUN: %CPU_RUN_PLACEHOLDER %t.out
66
// RUN: %ACC_RUN_PLACEHOLDER %t.out
77

8+
// XFAIL: hip
9+
// Expected failure because hip does not have atomic64 check implementation
10+
811
#include "sub.h"
912
#include <iostream>
1013
using namespace sycl;

SYCL/Basic/aspects.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
// Hip is missing some of the parameters tested here so it fails with NVIDIA
55
// XFAIL: hip_nvidia
66

7+
// XFAIL: hip
8+
// Expected failure because hip does not have atomic64 check implementation
9+
710
//==--------------- aspects.cpp - SYCL device test ------------------------==//
811
//
912
// Returns the various aspects of a device and platform.

0 commit comments

Comments
 (0)