You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Kokkos::Min and Kokkos::Max are defined in kokkos/src/Kokkos_Parallel_Reduce.hpp but they are not used in that context by RAJAPerf, leading to these errors when building.
$ cmake -DENABLE_KOKKOS=On ..
$ make -j
...
Building CXX object src/basic-kokkos/CMakeFiles/basic-kokkos.dir/REDUCE3_INT-Kokkos.cpp.o
"/projects/icapt/dog/kokkos/testing/RAJAPerf/src/basic-kokkos/REDUCE3_INT-Kokkos.cpp", line 58: error: no instance of constructor "Kokkos::Min<Scalar, Space>::Min [with Scalar=rajaperf::Int_type, Space=Kokkos::HostSpace]" matches the argument list
argument types are: (rajaperf::Int_type, rajaperf::Int_type)
m_vmin = Kokkos::Min<Int_type>(m_vmin, static_cast<Int_type>(min_value));
^
"/projects/icapt/dog/kokkos/testing/RAJAPerf/src/basic-kokkos/REDUCE3_INT-Kokkos.cpp", line 59: error: no instance of constructor "Kokkos::Max<Scalar, Space>::Max [with Scalar=rajaperf::Int_type, Space=Kokkos::HostSpace]" matches the argument list
argument types are: (rajaperf::Int_type, rajaperf::Int_type)
m_vmax = Kokkos::Max<Int_type>(m_vmax, static_cast<Int_type>(max_value));
^
The text was updated successfully, but these errors were encountered:
Kokkos::Min
andKokkos::Max
are defined inkokkos/src/Kokkos_Parallel_Reduce.hpp
but they are not used in that context by RAJAPerf, leading to these errors when building.The text was updated successfully, but these errors were encountered: