diff --git a/core/src/impl/Cabana_CartesianGrid.hpp b/core/src/impl/Cabana_CartesianGrid.hpp index 929c07cea..a898995f8 100644 --- a/core/src/impl/Cabana_CartesianGrid.hpp +++ b/core/src/impl/Cabana_CartesianGrid.hpp @@ -154,13 +154,7 @@ class CartesianGrid KOKKOS_INLINE_FUNCTION int cellsBetween( const Real max, const Real min, const Real rdelta ) const { - // FIXME_SYCL (remove ifdef when newest Kokkos is required) -#if ( defined __SYCL_DEVICE_ONLY__ ) - using Kokkos::Experimental::floor; -#elif !defined( __HIP_DEVICE_COMPILE__ ) - using std::floor; -#endif - return floor( ( max - min ) * rdelta ); + return Kokkos::floor( ( max - min ) * rdelta ); } };