#define HIP_DYNAMIC_SHARED_ATTRIBUTE is added
[ROCm/clr commit: 1031f422c2]
Cette révision appartient à :
1 Parent
2d8b482864
révision
e88b7756b7
2 fichiers modifiés
+4
Aucun fichier ne correspond à votre recherche
@@ -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__
|
||||
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Référencer dans un nouveau ticket
Bloquer un utilisateur