Update the define of __global__ for GGL

Change-Id: I563bb2a132403bcbe9e9f279b55406cf0255af7d
Esse commit está contido em:
Sun, Peng
2017-04-07 16:29:25 -05:00
commit 9884f2e83f
+1 -1
Ver Arquivo
@@ -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))