Revert "Changes to HIP to cope with Promote-free HCC"

This reverts commit 9043ba55db.

Change-Id: I20a9bab3883ad09913b320210344d37599cb8fcd


[ROCm/hip commit: 77e21dc09f]
This commit is contained in:
Wen-Heng (Jack) Chung
2017-03-14 22:58:41 +08:00
parent 866322367e
commit 508ad44c7c
8 changed files with 20 additions and 13 deletions
@@ -31,8 +31,15 @@ THE SOFTWARE.
#define NUM 1024
#define SIZE 1024*4
#ifdef __HIP_PLATFORM_HCC__
__attribute__((address_space(1))) int globalIn[NUM];
__attribute__((address_space(1))) int globalOut[NUM];
#endif
#ifdef __HIP_PLATFORM_NVCC__
__device__ int globalIn[NUM];
__device__ int globalOut[NUM];
#endif
__global__ void Assign(hipLaunchParm lp, int* Out)
{