Add USE_PROMOTE_FREE_HCC for smooth transition to new HCC caps.

ADDRESS_SPACE_1 defines


[ROCm/hip commit: e85c167171]
这个提交包含在:
Ben Sander
2017-03-17 11:04:39 -05:00
父节点 25e4ace28b
当前提交 a9ec705ee4
修改 4 个文件,包含 25 行新增11 行删除
@@ -31,9 +31,10 @@ THE SOFTWARE.
#define NUM 1024
#define SIZE 1024*4
// TODO - collapse:
#ifdef __HIP_PLATFORM_HCC__
__attribute__((address_space(1))) int globalIn[NUM];
__attribute__((address_space(1))) int globalOut[NUM];
__device__ ADDRESS_SPACE_1 int globalIn[NUM];
__device__ ADDRESS_SPACE_1 int globalOut[NUM];
#endif
#ifdef __HIP_PLATFORM_NVCC__