From 299ad3b37d1b790206370ef6de22c4e793137bbd Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Sat, 8 May 2021 23:43:15 -0400 Subject: [PATCH] work around bogus device overhead info in OpenCL --- lib/gpu/lal_device.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/gpu/lal_device.cpp b/lib/gpu/lal_device.cpp index b42aa8e21d..1c19cf9186 100644 --- a/lib/gpu/lal_device.cpp +++ b/lib/gpu/lal_device.cpp @@ -777,6 +777,7 @@ void DeviceT::output_times(UCL_Timer &time_pair, Answer &ans, #ifdef USE_OPENCL // Workaround for timing issue on Intel OpenCL if (times[3] > 80e6) times[3]=0.0; + if (times[5] > 80e6) times[5]=0.0; #endif if (replica_me()==0)