123456789101112131415 |
- @@ -90,10 +90,10 @@
- #include "math_fwd.h" // ocml device functions
-
- #if defined(__HIPCC_RTC__)
- -#define __HOST_DEVICE__ __device__
- +#define __HOST_DEVICE__ __device__ static
- #else
- #include <climits>
- -#define __HOST_DEVICE__ __host__ __device__
- +#define __HOST_DEVICE__ __host__ __device__ static inline
- #endif
-
- // Since we are using unsigned short to represent data in bfloat16, it can be of different sizes on
|