GPU Package fix where timing disable could result in event/marker destruction before completion on accelerator during initialization.

This commit is contained in:
W. Michael Brown
2022-10-18 21:22:24 -07:00
committed by Axel Kohlmeyer
parent 51c6eddd0d
commit f867adc541

View File

@ -741,6 +741,7 @@ void DeviceT::estimate_gpu_overhead(const int kernel_calls,
}
gpu_overhead/=10.0;
gpu_driver_overhead/=10.0;
gpu->sync();
if (_data_in_estimate>0) {
delete [] host_data_in;