Disable wave64 support on GFX10 for HIP

Change-Id: Ie3d4fe91516167ea26ce704689b6b6f1951a7521


[ROCm/clr commit: 147f064d31]
This commit is contained in:
Yaxun (Sam) Liu
2020-10-08 09:05:13 -04:00
zatwierdzone przez Yaxun Liu
rodzic a47392be9b
commit cd76837c2e
@@ -37,6 +37,10 @@ THE SOFTWARE.
#ifndef HIP_INCLUDE_HIP_HIP_RUNTIME_H
#define HIP_INCLUDE_HIP_HIP_RUNTIME_H
#if (__gfx1010__ || __gfx1011__ || __gfx1012__ || __gfx1030__ || __gfx1031__) && __AMDGCN_WAVEFRONT_SIZE == 64
#error HIP is not supported on GFX10 with wavefront size 64
#endif
// Some standard header files, these are included by hc.hpp and so want to make them avail on both
// paths to provide a consistent include env and avoid "missing symbol" errors that only appears
// on NVCC path: