Add __device__ to needful functions for promote-free.

[ROCm/hip commit: 29232ff283]
Tá an tiomantas seo le fáil i:
Ben Sander tiomanta 2017-03-17 11:19:48 -05:00
1 tuismitheoir a9ec705ee4
tiomantas 8d5c39fd52
5 comhad athraithe
+8 -7

Níor tháinig aon chomhaid le do chuardach

+1 -1
Féach ar an gComhad
@@ -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