1 rodič
a27fa25d76
revize
c1c4f454d8
1 file changed
+1
-1
@@ -44,7 +44,7 @@ THE SOFTWARE.
|
|||||||
#if GENERIC_GRID_LAUNCH == 0
|
#if GENERIC_GRID_LAUNCH == 0
|
||||||
#define __global__ __attribute__((hc_grid_launch)) __attribute__((used))
|
#define __global__ __attribute__((hc_grid_launch)) __attribute__((used))
|
||||||
#else
|
#else
|
||||||
#if __hcc_workweek__ >=17481
|
#if __hcc_workweek__ >= 17481
|
||||||
#define __global__ \
|
#define __global__ \
|
||||||
__attribute__((annotate("__HIP_global_function__"), cpu, hc, used))
|
__attribute__((annotate("__HIP_global_function__"), cpu, hc, used))
|
||||||
#else
|
#else
|
||||||
|
|||||||
Reference in new issue
Zablokovat Uživatele