SWDEV-334908 - Guard the __noinline__ macro as it is also supported as keyword by clang

Change-Id: I314b3ac463ea63132a5107f4f24ce769d8112b9b
Tá an tiomantas seo le fáil i:
Satyanvesh Dittakavi tiomanta 2022-05-18 05:51:32 -04:00
1 tuismitheoir bb9e52ab9f
tiomantas 8dfa7e7f98
2 comhad athraithe
+6 -1

Níor tháinig aon chomhaid le do chuardach

+2
Féach ar an gComhad
@@ -35,7 +35,9 @@ function(get_hiprtc_macros HIPRTC_DEFINES)
#define __constant__ __attribute__((constant))\n\
#define __shared__ __attribute__((shared))\n\
#define __align__(x) __attribute__((aligned(x)))\n\
#if !defined(__has_feature) || !__has_feature(cuda_noinline_keyword)\n\
#define __noinline__ __attribute__((noinline))\n\
#endif\n\
#define __forceinline__ inline __attribute__((always_inline))\n\
#define launch_bounds_impl0(requiredMaxThreadsPerBlock) \\\n\