Add __device__ to needful functions for promote-free.
[ROCm/hip commit: 29232ff283]
This commit is contained in:
1 förälder
a9ec705ee4
incheckning
8d5c39fd52
5 files changed
+8
-7
No files matched your search
@@ -443,7 +443,7 @@ do {\
|
||||
// to local variable definitions
|
||||
#define HIP_DYNAMIC_SHARED(type, var) \
|
||||
ADDRESS_SPACE_3 type* var = \
|
||||
ADDRESS_SPACE_3 type*)__get_dynamicgroupbaseptr(); \
|
||||
(ADDRESS_SPACE_3 type*)__get_dynamicgroupbaseptr(); \
|
||||
|
||||
#define HIP_DYNAMIC_SHARED_ATTRIBUTE ADDRESS_SPACE_3
|
||||
|
||||
|
||||
Reference in new issue
Block a user