1 #ifndef HeterogeneousCore_CUDAUtilities_eventWorkHasCompleted_h
2 #define HeterogeneousCore_CUDAUtilities_eventWorkHasCompleted_h
6 #include <cuda_runtime.h>
19 const auto ret = cudaEventQuery(event);
20 if (
ret == cudaSuccess) {
22 }
else if (
ret == cudaErrorNotReady) {
tuple ret
prodAgent to be discontinued
#define cudaCheck(ARG,...)
bool eventWorkHasCompleted(cudaEvent_t event)