Skip to content

Commit

Permalink
#1594: Don't try to print cudaEvent_t, since it's an incomplete type …
Browse files Browse the repository at this point in the history
…as declared by CUDA headers
  • Loading branch information
PhilMiller committed Nov 3, 2021
1 parent f494782 commit 30a4d33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vt/messaging/async_op_cuda.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ struct AsyncOpCUDA : AsyncOp {
bool poll() override {
auto ret = cudaEventQuery(event_);
if (cudaSuccess != ret && cudaErrorNotReady != ret) {
vtAbort(fmt::format("Failure on stream event {:x}: {}: {}", event_, cudaGetErrorName(ret), cudaGetErrorString(ret)));
vtAbort(fmt::format("Failure on stream event: {}: {}", cudaGetErrorName(ret), cudaGetErrorString(ret)));
}
return ret == cudaSuccess;
}
Expand Down

0 comments on commit 30a4d33

Please sign in to comment.