SWDEV:253548 : remove gfx-arch macros

Change-Id: I1ef0b4e080c15a9c6228f48ecd6a65b134d0a72d


[ROCm/hip commit: a2f9a2d469]
This commit is contained in:
Sarbojit Sarkar authored and Sarbojit Sarkar committed 2020-10-06 01:15:58 -04:00
1 parent 8811d4d1a8
commit 0eebd71062
4 files changed
-30

No files matched your search

@@ -28,13 +28,6 @@ THE SOFTWARE.
#include "test_common.h"
#if __HIP_ARCH_GFX803__ || \
__HIP_ARCH_GFX900__ || \
__HIP_ARCH_GFX906__ || \
__HIP_ARCH_GFX908__ || \
__HIP_ARCH_GFX1010__ || \
__HIP_ARCH_GFX1012__
__device__ void test_convert() {
__half x;
float y = (float)x;
@@ -108,8 +101,6 @@ __global__ void testHalf2Abs(float2* p) {
*p = __half22float2(a);
}
#endif
__half host_ushort_as_half(unsigned short s) {
union {__half h; unsigned short s; } converter;