Compiling with Kokkos development branch doesn't work.
Created by: masterleinad
Error messages:
In file included from Arborx/src/details/ArborX_DetailsDistributedSearchTreeImpl.hpp:17:0,
from Arborx/test/tstDetailsDistributedSearchTreeImpl.cpp:12:
Arborx/src/details/ArborX_DetailsUtils.hpp: In function ‘std::pair<typename ViewType::non_const_value_type, typename ViewType::non_const_value_type> ArborX::minMax(const ViewType&)’:
Arborx/src/details/ArborX_DetailsUtils.hpp:176:27: error: ‘MinMaxScalar’ is not a member of ‘Kokkos::Experimental’
Kokkos::Experimental::MinMaxScalar<typename ViewType::non_const_value_type>
^~~~~~~~~~~~
Arborx/src/details/ArborX_DetailsUtils.hpp:176:27: note: suggested alternative:
In file included from kokkos-install/include/Kokkos_Parallel.hpp:255:0,
from kokkos-install/include/Kokkos_Serial.hpp:55,
from kokkos-install/include/Kokkos_Core.hpp:53,
from Arborx/src/details/ArborX_DetailsDistributor.hpp:16,
from Arborx/src/details/ArborX_DetailsDistributedSearchTreeImpl.hpp:14,
from Arborx/test/tstDetailsDistributedSearchTreeImpl.cpp:12:
kokkos-install/include/Kokkos_Parallel_Reduce.hpp:633:8: note: ‘Kokkos::MinMaxScalar’
struct MinMaxScalar {
^~~~~~~~~~~~
In file included from Arborx/src/details/ArborX_DetailsDistributedSearchTreeImpl.hpp:17:0,
from Arborx/test/tstDetailsDistributedSearchTreeImpl.cpp:12:
Arborx/src/details/ArborX_DetailsUtils.hpp:176:79: error: expected ‘(’ before ‘>’ token
Kokkos::Experimental::MinMaxScalar<typename ViewType::non_const_value_type>
^
Arborx/src/details/ArborX_DetailsUtils.hpp:177:9: error: ‘result’ was not declared in this scope
result;
^~~~~~
Arborx/src/details/ArborX_DetailsUtils.hpp:178:27: error: ‘MinMax’ is not a member of ‘Kokkos::Experimental’
Kokkos::Experimental::MinMax<typename ViewType::non_const_value_type>
^~~~~~
Arborx/src/details/ArborX_DetailsUtils.hpp:178:27: note: suggested alternative:
In file included from kokkos-install/include/Kokkos_Core.hpp:50:0,
from Arborx/src/details/ArborX_DetailsDistributor.hpp:16,
from Arborx/src/details/ArborX_DetailsDistributedSearchTreeImpl.hpp:14,
from Arborx/test/tstDetailsDistributedSearchTreeImpl.cpp:12:
kokkos-install/include/Kokkos_Core_fwd.hpp:317:61: note: ‘Kokkos::MinMax’
template<class ScalarType , class Space = HostSpace> struct MinMax;
^~~~~~
In file included from Arborx/src/details/ArborX_DetailsDistributedSearchTreeImpl.hpp:17:0,
from Arborx/test/tstDetailsDistributedSearchTreeImpl.cpp:12:
Arborx/src/details/ArborX_DetailsUtils.hpp:178:73: error: expected ‘(’ before ‘>’ token
Kokkos::Experimental::MinMax<typename ViewType::non_const_value_type>
^
Arborx/src/details/ArborX_DetailsUtils.hpp:179:9: error: there are no arguments to ‘reducer’ that depend on a template parameter, so a declaration of ‘reducer’ must be available [-fpermissive]
reducer( result );
^~~~~~~
Arborx/src/details/ArborX_DetailsUtils.hpp:179:9: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
Arborx/src/details/ArborX_DetailsUtils.hpp:182:55: error: ‘reducer’ was not declared in this scope
Kokkos::Impl::min_max_functor<ViewType>( v ), reducer );
^~~~~~~