diff options
Diffstat (limited to 'openmp/libomptarget/deviceRTLs/nvptx/src/target_impl.h')
| -rw-r--r-- | openmp/libomptarget/deviceRTLs/nvptx/src/target_impl.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/openmp/libomptarget/deviceRTLs/nvptx/src/target_impl.h b/openmp/libomptarget/deviceRTLs/nvptx/src/target_impl.h index 95fe2ad3d3d..e0bacab3c64 100644 --- a/openmp/libomptarget/deviceRTLs/nvptx/src/target_impl.h +++ b/openmp/libomptarget/deviceRTLs/nvptx/src/target_impl.h @@ -15,8 +15,9 @@ #include <cuda.h> #include "nvptx_interface.h" -#define INLINE __forceinline__ __device__ -#define NOINLINE __noinline__ __device__ +#define DEVICE __device__ +#define INLINE __forceinline__ DEVICE +#define NOINLINE __noinline__ DEVICE //////////////////////////////////////////////////////////////////////////////// // Kernel options |

