Update the define of __global__ for GGL

Change-Id: I563bb2a132403bcbe9e9f279b55406cf0255af7d
Este cometimento está contido em:
Sun, Peng cometeu 2017-04-07 16:39:33 -05:00
1 ascendente 19987ede22
cometimento 9884f2e83f
1 ficheiro modificado
+1 -1
+1 -1
Ver ficheiro
@@ -48,7 +48,7 @@ THE SOFTWARE.
#define __global__ __attribute__((hc_grid_launch)) __attribute__((used))
#else
//#warning "GGL global define reached"
#define __global__ [[hc]] __attribute__((weak))
#define __global__ __attribute__((hc, weak))
#endif //GENERIC_GRID_LAUNCH
#define __noinline__ __attribute__((noinline))