| d96fed39 | 11-May-2025 |
Junchao Zhang <jczhang@anl.gov> |
VecKokkos: fix a compile error on Aurora with oneapi/release/2025.0.5
error: no matching constructor for initialization of 'PetscScalarKokkosDualView' (aka 'DualView<double *>') 73 | PetscCal
VecKokkos: fix a compile error on Aurora with oneapi/release/2025.0.5
error: no matching constructor for initialization of 'PetscScalarKokkosDualView' (aka 'DualView<double *>') 73 | PetscCallCXX(v_dual = PetscScalarKokkosDualView(v_h, v_h)); | ^ ~~~~~~~~ /home/jczhang/petsc/include/petscerror.h:1152:74: note: expanded from macro 'PetscCallCXX' 1152 | #define PetscCallCXX(...) PetscCallCXX_Private(SETERRQ, PETSC_COMM_SELF, __VA_ARGS__) | ^~~~~~~~~~~ /home/jczhang/petsc/include/petscerror.h:1078:7: note: expanded from macro 'PetscCallCXX_Private' 1078 | __VA_ARGS__; \ | ^~~~~~~~~~~ /home/jczhang/petsc/arch-kokkos-dbg/include/Kokkos_DualView.hpp:336:3: note: candidate constructor not viable: no known conversion from 'View<[...], Kokkos::HostSpace>' to 'const View<[...], (no argument)>' for 1st argument 336 | DualView(const t_dev& d_view_, const t_host& h_view_) | ^ ~~~~~~~~~~~~~~~~~~~~
show more ...
|