Skip to content

Commit

Permalink
tpetra: guard printf use with sycl
Browse files Browse the repository at this point in the history
  • Loading branch information
ndellingwood committed Nov 2, 2023
1 parent 1fa4607 commit dfcec4f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/tpetra/core/src/Tpetra_Import_Util2.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1311,7 +1311,10 @@ lowCommunicationMakeColMapAndReindex (
const int PID = owningPIDs_view[j];
auto outcome = RemoteGIDs_view_map.insert(GID, PID);
if(outcome.success() && PID == -1) {
// FIXME_SYCL Enable again once a SYCL conforming printf implementation is available.
#ifndef KOKKOS_ENABLE_SYCL
printf("Cannot figure out if ID is owned.\n");
#endif
Kokkos::abort("Cannot figure out if ID is owned.\n");
}
}
Expand Down

0 comments on commit dfcec4f

Please sign in to comment.