Also registers the gpu resourcegather kernel for half (no idea why it was missing)
authorAlexandre Passos <apassos@google.com>
Wed, 4 Apr 2018 18:35:05 +0000 (11:35 -0700)
committerTensorFlower Gardener <gardener@tensorflow.org>
Wed, 4 Apr 2018 18:37:52 +0000 (11:37 -0700)
PiperOrigin-RevId: 191621111

tensorflow/core/kernels/resource_variable_ops.cc

index 5c54609..f49a05c 100644 (file)
@@ -605,7 +605,7 @@ TF_CALL_QUANTIZED_TYPES(REGISTER_GATHER_CPU);
 #if GOOGLE_CUDA
 #define REGISTER_GATHER_GPU(type) REGISTER_GATHER_ALL_INDICES(GPU, type)
 
-TF_CALL_GPU_NUMBER_TYPES_NO_HALF(REGISTER_GATHER_GPU);
+TF_CALL_GPU_NUMBER_TYPES(REGISTER_GATHER_GPU);
 
 #endif  // GOOGLE_CUDA