Skip to content

Use KOKKOS_DEFAULTED_FUNCTION

Created by: masterleinad

This avoids warnings similar to

src/details/ArborX_Predicates.hpp(34): warning: __device__ annotation is ignored on a function("Nearest") that is explicitly defaulted on its first declaration

There are still some coming from Boost which are not covered here:

boost-new/include/boost/fusion/container/vector/vector.hpp(195): warning: __host__ annotation is ignored on a function("vector_data") that is explicitly defaulted on its first declaration
boost-new/include/boost/fusion/container/vector/vector.hpp(195): warning: __device__ annotation is ignored on a function("vector_data") that is explicitly defaulted on its first declaration
boost-new/include/boost/fusion/container/vector/vector.hpp(273): warning: __host__ annotation is ignored on a function("vector") that is explicitly defaulted on its first declaration
boost-new/include/boost/fusion/container/vector/vector.hpp(273): warning: __device__ annotation is ignored on a function("vector") that is explicitly defaulted on its first declaration

Merge request reports