[TF:XLA] Add DT_HALF to the supported data types for the CPU and GPU devices.
authorBixia Zheng <bixia@google.com>
Tue, 3 Apr 2018 17:47:37 +0000 (10:47 -0700)
committerTensorFlower Gardener <gardener@tensorflow.org>
Tue, 3 Apr 2018 17:51:24 +0000 (10:51 -0700)
commit5e93a0795b57a22c4c08424fb10fe3ca7e182707
tree5236fa46e803b940219ddb5852538ba54be6dd26
parent895566e3af6e3e44eb22d0c2d20b4890e42982fc
[TF:XLA] Add DT_HALF to the supported data types for the CPU and GPU devices.

Add a test case to compilation_passes_test for DT_HALF data type.

PiperOrigin-RevId: 191464288
tensorflow/compiler/jit/mark_for_compilation_pass_test.cc
tensorflow/compiler/jit/xla_cpu_device.cc
tensorflow/compiler/jit/xla_gpu_device.cc
tensorflow/compiler/tf2xla/xla_op_registry.h