work around bogus device overhead info in OpenCL

This commit is contained in:
Axel Kohlmeyer
2021-05-08 23:43:15 -04:00
parent 30068d4599
commit 299ad3b37d

View File

@ -777,6 +777,7 @@ void DeviceT::output_times(UCL_Timer &time_pair, Answer<numtyp,acctyp> &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)