diff options
author | 2016-06-15 17:16:55 -0800 | |
---|---|---|
committer | 2016-06-15 18:33:09 -0700 | |
commit | 6bf5ea7c934172fd46fbfb2791d2c56e8bc41b02 (patch) | |
tree | 8fff9fe9a5b17f173ca3beefabd323269a972ba9 /tensorflow/core/kernels/cwise_op_acos.cc | |
parent | 179a7563f71755c631356a800da8a54b15645b37 (diff) |
Exclude asin and acos gpu kernels from gcudacc build.
Change: 125015921
Diffstat (limited to 'tensorflow/core/kernels/cwise_op_acos.cc')
-rw-r--r-- | tensorflow/core/kernels/cwise_op_acos.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tensorflow/core/kernels/cwise_op_acos.cc b/tensorflow/core/kernels/cwise_op_acos.cc index de82523548..1f975572c0 100644 --- a/tensorflow/core/kernels/cwise_op_acos.cc +++ b/tensorflow/core/kernels/cwise_op_acos.cc @@ -17,7 +17,8 @@ limitations under the License. namespace tensorflow { REGISTER2(UnaryOp, CPU, "Acos", functor::acos, float, double); -#if GOOGLE_CUDA + +#if GOOGLE_CUDA && !defined(__GCUDACC_HOST__) REGISTER2(UnaryOp, GPU, "Acos", functor::acos, float, double); #endif } // namespace tensorflow |