Skip to content

Commit

Permalink
kp_sampler_skip.cpp: std::cout to std::cerr
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Arndt <[email protected]>
  • Loading branch information
vlkale and masterleinad authored Apr 10, 2024
1 parent 2c5fd43 commit 262a6bb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion common/kokkos-sampler/kp_sampler_skip.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,9 @@ void invoke_ktools_fence(uint32_t devID) {
<< getDeviceID(devID) << ".\n";
}
} else {
std::cout << "KokkosP: FATAL: Kokkos Tools Programming Interface's "
std::cerr << "KokkosP: FATAL: Kokkos Tools Programming Interface's "
"tool-invoked Fence is NULL!\n";
std::abort();
exit(-1);
}
}
Expand Down

0 comments on commit 262a6bb

Please sign in to comment.