Update the define of __global__ for GGL
Change-Id: I563bb2a132403bcbe9e9f279b55406cf0255af7d
Ta zmiana jest zawarta w:
%! (template.HTML=
Sun, Peng)złożyło 2017-04-07 16:39:33 -05:00
1 rodzic
19987ede22
złożenie
9884f2e83f
Plik 1 zmieniony
+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))
|
||||
|
||||
Reference in new issue
Zablokuj użytkownika