GPU Package fix where timing disable could result in event/marker destruction before completion on accelerator during initialization.
This commit is contained in:
committed by
Axel Kohlmeyer
parent
51c6eddd0d
commit
f867adc541
@ -741,6 +741,7 @@ void DeviceT::estimate_gpu_overhead(const int kernel_calls,
|
|||||||
}
|
}
|
||||||
gpu_overhead/=10.0;
|
gpu_overhead/=10.0;
|
||||||
gpu_driver_overhead/=10.0;
|
gpu_driver_overhead/=10.0;
|
||||||
|
gpu->sync();
|
||||||
|
|
||||||
if (_data_in_estimate>0) {
|
if (_data_in_estimate>0) {
|
||||||
delete [] host_data_in;
|
delete [] host_data_in;
|
||||||
|
|||||||
Reference in New Issue
Block a user