Commit 92d9a993 authored by Benjamin Kramer's avatar Benjamin Kramer Committed by TensorFlower Gardener
Browse files

[XLA:GPU] Flush out any pending work before starting autotune

The autotune code assumes a clean slate, but there might be things from
previous program executions still pending on the streams owned by the executor.
Do a full host-device sync before autotuning to flush out any pending work.

I'm still somewhat confused on how autotune can interfere with other buffers.
There might be more things going wrong ...

PiperOrigin-RevId: 211369162
parent 50411a6b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment