Add __device__ to needful functions for promote-free.

Este commit está contenido en:
Ben Sander
2017-03-17 11:19:48 -05:00
padre e85c167171
commit 29232ff283
Se han modificado 5 ficheros con 8 adiciones y 7 borrados
+1 -1
Ver fichero
@@ -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