__forceinline__ needs inline and always_inline

Related to SWDEV-163084


[ROCm/hip commit: e7352a1f4a]
This commit is contained in:
Aaron Enye Shi
2018-08-29 14:30:22 -04:00
parent 41b7de5554
commit 8a602184bb
@@ -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