Skip to content

Commit 3c31f36

Browse files
committed
Fixed macro "ISAAC_HOST_DEVICE_INLINE", which was only valid for devices
1 parent b0d906c commit 3c31f36

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/isaac/isaac_defines.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@
5959

6060
#if ISAAC_ALPAKA == 1
6161
#ifdef __CUDACC__
62-
#define ISAAC_HOST_DEVICE_INLINE ALPAKA_FN_ACC __forceinline__
62+
#define ISAAC_HOST_DEVICE_INLINE ALPAKA_FN_HOST_ACC __forceinline__
6363
#else
64-
#define ISAAC_HOST_DEVICE_INLINE ALPAKA_FN_ACC inline
64+
#define ISAAC_HOST_DEVICE_INLINE ALPAKA_FN_HOST_ACC inline
6565
#endif
6666
#else
6767
#define ISAAC_HOST_DEVICE_INLINE __device__ __host__ __forceinline__

0 commit comments

Comments
 (0)