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

Commit 36752c9

Browse files
authored
[SYCL] Enable shuffle tests on HIP AMD. (#487)
Even though `gfx908` and `gfx906` support halfs, libspirv is currently built with `tahiti` as the target CPU, which means that clang rejects AMD built-ins using halfs, for that reason half support has to stay disabled.
1 parent 1a770de commit 36752c9

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

SYCL/SubGroup/generic-shuffle.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
//
77
// Missing __spirv_SubgroupShuffleINTEL, __spirv_SubgroupShuffleUpINTEL,
88
// __spirv_SubgroupShuffleDownINTEL, __spirv_SubgroupShuffleXorINTEL on AMD
9-
// XFAIL: hip_amd
109
//
1110
//==-- generic_shuffle.cpp - SYCL sub_group generic shuffle test *- C++ -*--==//
1211
//

SYCL/SubGroup/shuffle.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
//
77
// Missing __spirv_SubgroupShuffleINTEL, __spirv_SubgroupShuffleUpINTEL,
88
// __spirv_SubgroupShuffleDownINTEL, __spirv_SubgroupShuffleXorINTEL on AMD
9-
// XFAIL: hip_amd
109
//
1110
//==------------ shuffle.cpp - SYCL sub_group shuffle test -----*- C++ -*---==//
1211
//

SYCL/SubGroup/shuffle_fp16.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
// Missing __spirv_SubgroupShuffleINTEL, __spirv_SubgroupShuffleUpINTEL,
55
// __spirv_SubgroupShuffleDownINTEL, __spirv_SubgroupShuffleXorINTEL on AMD
66
// XFAIL: hip_amd
7+
// Even though `gfx908` and `gfx906` support halfs, libspirv is currently
8+
// built with `tahiti` as the target CPU, which means that clang rejects
9+
// AMD built-ins using halfs, for that reason half support has to stay
10+
// disabled.
711
//
812
//==------- shuffle_fp16.cpp - SYCL sub_group shuffle test -----*- C++ -*---==//
913
//

SYCL/SubGroup/shuffle_fp64.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
//
77
// Missing __spirv_SubgroupShuffleINTEL, __spirv_SubgroupShuffleUpINTEL,
88
// __spirv_SubgroupShuffleDownINTEL, __spirv_SubgroupShuffleXorINTEL on AMD
9-
// XFAIL: hip_amd
109
//
1110
//==------- shuffle_fp64.cpp - SYCL sub_group shuffle test -----*- C++ -*---==//
1211
//

0 commit comments

Comments
 (0)