__forceinline__ needs inline and always_inline
Related to SWDEV-163084
[ROCm/hip commit: e7352a1f4a]
这个提交包含在:
1 父节点
41b7de5554
当前提交
8a602184bb
1 个文件已更改
+2
-2
@@ -52,7 +52,7 @@ THE SOFTWARE.
|
||||
#endif // GENERIC_GRID_LAUNCH
|
||||
|
||||
#define __noinline__ __attribute__((noinline))
|
||||
#define __forceinline__ __attribute__((always_inline))
|
||||
#define __forceinline__ inline __attribute__((always_inline))
|
||||
|
||||
|
||||
/*
|
||||
@@ -71,7 +71,7 @@ THE SOFTWARE.
|
||||
#define __constant__ __attribute__((constant))
|
||||
|
||||
#define __noinline__ __attribute__((noinline))
|
||||
#define __forceinline__ __attribute__((always_inline))
|
||||
#define __forceinline__ inline __attribute__((always_inline))
|
||||
|
||||
#else
|
||||
|
||||
|
||||
在新工单中引用
屏蔽一个用户