cuda build of Kokkos_Sparse_MV_impl_spmv takes 25 minutes for 1 file.
Created by: bathmatt
Can we split up the build of this file? This is all on hansen with -bash-4.1$ module load devpack/openmpi/1.10.0/gcc/4.8.4/cuda/7.5.18
The build of [ 66%] Building CXX object packages/tpetra/kernels/src/CMakeFiles/tpetrakernels.dir/impl/Kokkos_Sparse_MV_impl_spmv_Cuda.cpp.o [ 66%] Building CXX object packages/tpetra/kernels/src/CMakeFiles/tpetrakernels.dir/impl/Kokkos_Sparse_MV_impl_spmv_Serial.cpp.o
is very slow under cuda/debug (not -G though). By very slow, 25 minutes.
-bash-4.1$ time make -j [ 0%] Built target kokkoscore [ 0%] Built target kokkosalgorithms [ 0%] Built target kokkoscontainers [ 33%] Built target teuchoscore [ 66%] Built target teuchosparameterlist [ 66%] Built target teuchoscomm [ 66%] Building CXX object packages/tpetra/kernels/src/CMakeFiles/tpetrakernels.dir/impl/Kokkos_Sparse_MV_impl_spmv_Cuda.cpp.o [ 66%] Building CXX object packages/tpetra/kernels/src/CMakeFiles/tpetrakernels.dir/impl/Kokkos_Sparse_MV_impl_spmv_Serial.cpp.o [ 66%] Linking CXX static library libtpetrakernels.a [100%] Built target tpetrakernels
real 24m16.402s user 29m35.614s sys 0m58.005s