Merge branch 'amd-master' into amd-develop

이 커밋은 다음에 포함됨:
Maneesh Gupta가 2017-03-14 13:44:41 +05:30를 커밋했습니다
커밋 0853c8ac2e
8 파일이 변경됨
+13 -20

검색과 일치하는 파일 없음

+3 -4
파일 보기
@@ -264,7 +264,7 @@ __device__ int __hip_move_dpp(int src, int dpp_ctrl, int row_mask, int bank_mask
__host__ __device__ int min(int arg1, int arg2);
__host__ __device__ int max(int arg1, int arg2);
__device__ __attribute__((address_space(3))) void* __get_dynamicgroupbaseptr();
__device__ void* __get_dynamicgroupbaseptr();
/**
@@ -422,10 +422,9 @@ do {\
// Macro to replace extern __shared__ declarations
// to local variable definitions
#define HIP_DYNAMIC_SHARED(type, var) \
__attribute__((address_space(3))) type* var = \
(__attribute__((address_space(3))) type*)__get_dynamicgroupbaseptr(); \
type* var = (type*)__get_dynamicgroupbaseptr(); \
#define HIP_DYNAMIC_SHARED_ATTRIBUTE __attribute__((address_space(3)))
#define HIP_DYNAMIC_SHARED_ATTRIBUTE
#endif // __HCC__
+1 -1
파일 보기
@@ -47,7 +47,7 @@ THE SOFTWARE.
*/
// _restrict is supported by the compiler
#define __shared__ tile_static
#define __constant__ __attribute__((address_space(1)))
#define __constant__ __attribute__((hc))
#else
// Non-HCC compiler