aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/compiler/xla/service/hlo_runner.cc
diff options
context:
space:
mode:
authorGravatar Yunxing Dai <yunxing@google.com>2017-11-13 11:48:10 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-11-13 12:00:51 -0800
commitbc4d2043b631b78365560fb893ac81e93935535e (patch)
treeab5c63cd3b09ceed5ee6f3c9dc986c7bc9abcee9 /tensorflow/compiler/xla/service/hlo_runner.cc
parent6470669cc4cef9c8f23527121cf0e20b72d2bfa0 (diff)
Add bfloat support to XLA.
This is necessary in providing bfloat support in GPU backend. RELNOTES: bfloat support is now added to XLA infra. PiperOrigin-RevId: 175564791
Diffstat (limited to 'tensorflow/compiler/xla/service/hlo_runner.cc')
-rw-r--r--tensorflow/compiler/xla/service/hlo_runner.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/tensorflow/compiler/xla/service/hlo_runner.cc b/tensorflow/compiler/xla/service/hlo_runner.cc
index f463e57d99..158fb9a546 100644
--- a/tensorflow/compiler/xla/service/hlo_runner.cc
+++ b/tensorflow/compiler/xla/service/hlo_runner.cc
@@ -12,6 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
==============================================================================*/
+#define EIGEN_USE_THREADS
#include "tensorflow/compiler/xla/service/hlo_runner.h"
@@ -19,8 +20,6 @@ limitations under the License.
#include <string>
#include <utility>
-#define EIGEN_USE_THREADS
-
#include "third_party/eigen3/unsupported/Eigen/CXX11/Tensor"
#include "tensorflow/compiler/xla/layout_util.h"
#include "tensorflow/compiler/xla/ptr_util.h"