Revert "Changes to HIP to cope with Promote-free HCC"
This reverts commit efb9b9e86c.
Change-Id: I20a9bab3883ad09913b320210344d37599cb8fcd
이 커밋은 다음에 포함됨:
1 부모
0f861fbba5
커밋
77e21dc09f
8 파일이 변경됨
+20
-13
검색과 일치하는 파일 없음
@@ -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)
|
||||
{
|
||||
|
||||
@@ -29,7 +29,7 @@ THE SOFTWARE.
|
||||
#include "hip/hip_runtime.h"
|
||||
#include "test_common.h"
|
||||
|
||||
#define LEN 8*1024
|
||||
#define LEN 16*1024
|
||||
#define SIZE LEN*4
|
||||
|
||||
__global__ void vectorAdd(hipLaunchParm lp, float *Ad, float *Bd) {
|
||||
|
||||
새 이슈에서 참조
사용자 차단