#define HIP_DYNAMIC_SHARED_ATTRIBUTE is added

[ROCm/hip commit: 7015675983]
此提交包含在:
Evgeny Mankov committed 2016-08-16 17:58:57 +03:00
1 父節點 12dab9cdc0
當前提交 150e3acdad
2 file changed
+4

No files matched your search

+2
查看文件
@@ -627,6 +627,8 @@ do {\
__attribute__((address_space(3))) type* var = \
(__attribute__((address_space(3))) type*)__get_dynamicgroupbaseptr(); \
#define HIP_DYNAMIC_SHARED_ATTRIBUTE __attribute__((address_space(3)))
#endif // __HCC__
+2
查看文件
@@ -99,6 +99,8 @@ kernelName<<<numblocks,numthreads,memperblock,streamId>>>(0, ##__VA_ARGS__);\
#define HIP_DYNAMIC_SHARED(type, var) \
extern __shared__ type var[]; \
#define HIP_DYNAMIC_SHARED_ATTRIBUTE
#endif