Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rol: updates to fix compile errors with kokkos deprecated code off #6447

Merged
merged 1 commit into from
Dec 13, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ class PinTVectorCommunication_Tpetra : public PinTVectorCommunication<Real> {
void send(MPI_Comm comm,int rank,Vector<Real> & source,int tag=0) const override
{
auto & tp_source = *dynamic_cast<TpetraMultiVector<Real>&>(source).getVector();
tp_source.template sync<Kokkos::HostSpace>();
tp_source.sync_host();

auto view = tp_source.template getLocalView<Kokkos::HostSpace>();
auto view = tp_source.getLocalViewHost();

// int myRank = -1;
// MPI_Comm_rank(comm, &myRank);
Expand All @@ -82,7 +82,7 @@ class PinTVectorCommunication_Tpetra : public PinTVectorCommunication<Real> {
void recv(MPI_Comm comm,int rank,Vector<Real> & dest,int tag=0) const override
{
auto & tp_dest = *dynamic_cast<TpetraMultiVector<Real>&>(dest).getVector();
auto view = tp_dest.template getLocalView<Kokkos::HostSpace>();
auto view = tp_dest.getLocalViewHost();

// int myRank = -1;
// MPI_Comm_rank(comm, &myRank);
Expand All @@ -98,7 +98,7 @@ class PinTVectorCommunication_Tpetra : public PinTVectorCommunication<Real> {
void recvSumInto(MPI_Comm comm,int rank,Vector<Real> & dest,int tag=0) const override
{
auto & tp_dest = *dynamic_cast<TpetraMultiVector<Real>&>(dest).getVector();
auto view = tp_dest.template getLocalView<Kokkos::HostSpace>();
auto view = tp_dest.getLocalViewHost();

int myRank = -1;
MPI_Comm_rank(comm, &myRank);
Expand Down