diff --git a/src/gw_gpu_kernel.cpp b/src/gw_gpu_kernel.cpp index 7c7a9af..4fe3b56 100644 --- a/src/gw_gpu_kernel.cpp +++ b/src/gw_gpu_kernel.cpp @@ -129,9 +129,7 @@ namespace green::gpu { if (!cugw_event.active) { gpu_time = cugw_event.duration; } else { - gpu_time = 0.; - cugw_event.active = false; - throw std::runtime_error("'Solve cuGW' event not found"); + throw std::runtime_error("'Solve cuGW' still active, but it should not be."); } }