aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/kernels/self_adjoint_eig_v2_op_double.cc
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2017-09-20 11:49:24 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-09-20 11:53:18 -0700
commit8cb7ad01d88e51ab0a78f66aa5719504c8f143ba (patch)
treedbd660d46082b827ff2cbc586a569a9a9452ba7a /tensorflow/core/kernels/self_adjoint_eig_v2_op_double.cc
parent453d06b059e3b0d8eb151423e42bc3cda2768d4d (diff)
Split self_adjoint_eig_v2_op.cc according to type to speed up build.
Small cleanup in qr_op_impl.h. Get rid of redundant conjugation functor in cuda_solvers. PiperOrigin-RevId: 169426819
Diffstat (limited to 'tensorflow/core/kernels/self_adjoint_eig_v2_op_double.cc')
-rw-r--r--tensorflow/core/kernels/self_adjoint_eig_v2_op_double.cc26
1 files changed, 26 insertions, 0 deletions
diff --git a/tensorflow/core/kernels/self_adjoint_eig_v2_op_double.cc b/tensorflow/core/kernels/self_adjoint_eig_v2_op_double.cc
new file mode 100644
index 0000000000..7f81bb6902
--- /dev/null
+++ b/tensorflow/core/kernels/self_adjoint_eig_v2_op_double.cc
@@ -0,0 +1,26 @@
+/* Copyright 2017 The TensorFlow Authors. All Rights Reserved.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+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.
+==============================================================================*/
+
+#include "tensorflow/core/kernels/self_adjoint_eig_v2_op_impl.h"
+
+namespace tensorflow {
+
+REGISTER_LINALG_OP("SelfAdjointEigV2", (SelfAdjointEigV2Op<double>), double);
+
+// Deprecated kernel.
+REGISTER_LINALG_OP("BatchSelfAdjointEigV2", (SelfAdjointEigV2Op<double>),
+ double);
+
+} // namespace tensorflow