Commit d1666747 authored by Peter Hawkins's avatar Peter Hawkins Committed by TensorFlower Gardener
Browse files

[XLA] Clone EigenThreadPoolWrapper into backend.cc rather than including it.

This is the only library in XLA that depends on the TF common_runtime/ library. (There are some binaries and tests that also use common_runtime/, but this is a useful dependency to break since it means that XLA users don't take an unnecessary TF dependency.) The class is trivial (a adapter between Eigen's thread pool interface and a tensorflow::ThreadPool), so we might as well clone it rather than take the dependency.

Do some renaming so we don't have two things named EigenThreadPoolWrapper.

PiperOrigin-RevId: 234481978
parent 019b2d67
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment