We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0561b3 commit 4681e2eCopy full SHA for 4681e2e
openmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.h
@@ -19,9 +19,9 @@
19
#include <stdint.h>
20
#include "amdgcn_interface.h"
21
22
-#define DEVICE __device__
23
-#define INLINE __inline__ DEVICE
24
-#define NOINLINE __noinline__ DEVICE
+#define DEVICE __attribute__((device))
+#define INLINE inline DEVICE
+#define NOINLINE __attribute__((noinline)) DEVICE
25
26
////////////////////////////////////////////////////////////////////////////////
27
// Kernel options
0 commit comments