Commit e9c5f334 authored by Justin Lebar's avatar Justin Lebar Committed by TensorFlower Gardener
Browse files

Remove XLA Client::ExecuteAsync API.

This is a simplification, but also: The ExecuteAsync makes it easy to do
the wrong thing.

ExecuteAsync lets you easily start a computation and then infeed/outfeed
to it, all without starting any threads yourself.

But in practice, if you're using infeed or outfeed, you're probably
using both.  For good performance, you should overlap infeeds and
outfeeds, which means you need to run them on separate threads.  But
then you might as well use a thread for Execute, as well.

PiperOrigin-RevId: 163509892
parent 036bba52
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment