Update the define of __global__ for GGL

Change-Id: I563bb2a132403bcbe9e9f279b55406cf0255af7d
Этот коммит содержится в:
Sun, Peng committed 2017-04-07 16:39:33 -05:00
1 родитель 19987ede22
Коммит 9884f2e83f
1 file changed
+1 -1
+1 -1
Просмотреть файл
@@ -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))