Panzer not compiling under cuda
Created by: bathmatt
@eric-c-cyr @kyungjoo-kim It looks like some of the changes for the higher order basis stuff broke the cuda build. I'm getting errors here
ots::modifyBasisByOrientation(drv_basis_scalar,
drv_basis_scalar_tmp,
drv_orts,
intrepid_basis);
The error mentions an array size issue.
Here is the compile traceback instantiation of "Intrepid2::OrientationTools::CoeffMatrixDataViewType Intrepid2::OrientationTools::createCoeffMatrix(BasisPtrType) [with ExecSpaceType=PHX::Device, BasisPtrType=Teuchos::RCP<Intrepid2::Basis<Kokkos::Cuda::execution_space, double, double>>]" /home/mbetten/Trilinos/Trilinos/packages/intrepid2/refactor/src/Orientation/Intrepid2_OrientationToolsDefModifyBasis.hpp(165): here instantiation of "void Intrepid2::OrientationTools::modifyBasisByOrientation(Kokkos::DynRankView<outputValueType, outputProperties...>, Kokkos::DynRankView<inputValueType, inputProperties...>, Kokkos::DynRankView<ortValueType, ortProperties...>, BasisPtrType) [with ExecSpaceType=PHX::Device, outputValueType=double, outputProperties=Kokkos::Cuda::execution_space, inputValueType=double, inputProperties=Kokkos::Cuda::execution_space, ortValueType=Intrepid2::Orientation, ortProperties=PHX::Device, BasisPtrType=Teuchos::RCP<Intrepid2::Basis<Kokkos::Cuda::execution_space, double, double>>]" /home/mbetten/Trilinos/Trilinos/packages/panzer/disc-fe/src/Panzer_BasisValues2.cpp(581): here instantiation of "void panzer::BasisValues2::applyOrientations(const std::vector<Intrepid2::Orientation, std::allocatorIntrepid2::Orientation> &) [with Scalar=double]" /home/mbetten/Trilinos/Trilinos/packages/panzer/disc-fe/src/Panzer_BasisValues2.cpp(949): here
/home/mbetten/Trilinos/Trilinos/packages/kokkos/containers/src/Kokkos_DynRankView.hpp(857): error: static assertion failed with "Incompatible DynRankView copy construction" detected during: instantiation of "Kokkos::Experimental::DynRankView<DataType, Properties...>::DynRankView(const Kokkos::Experimental::DynRankView<RT, RP...> &) [with DataType=double, Properties=<Kokkos::LayoutStride, Kokkos::Cuda::execution_space>, RT=double, RP=Kokkos::DefaultHostExecutionSpace]"