aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Benjamin Kramer <kramerb@google.com>2018-05-04 03:43:00 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-05-04 10:52:55 -0700
commit2d6170fc0afee7269cab7f84647f2a65b86e7020 (patch)
tree9c7900ba5c37d938cef57351ff2049a4af5bf3ad
parent34bb6643654b9a207b93d046d5fde807eb7ee499 (diff)
[XLA] Remove template keyword on non-template methods.
This is an error with clang trunk. PiperOrigin-RevId: 195394277
-rw-r--r--tensorflow/compiler/xla/tests/matrix_ops_simple_test.cc9
-rw-r--r--third_party/libxsmm.BUILD2
2 files changed, 4 insertions, 7 deletions
diff --git a/tensorflow/compiler/xla/tests/matrix_ops_simple_test.cc b/tensorflow/compiler/xla/tests/matrix_ops_simple_test.cc
index 6cb470caf8..464cc01214 100644
--- a/tensorflow/compiler/xla/tests/matrix_ops_simple_test.cc
+++ b/tensorflow/compiler/xla/tests/matrix_ops_simple_test.cc
@@ -67,8 +67,7 @@ XLA_TYPED_TEST(MatOpsSimpleTest_F16F32, ExpTwoByTwoValues) {
Literal::CreateR2FromArray2D<T>({{2.71828f, 1.00000f}, // row 0
{0.36788f, 1.64872f}}); // row 1
- this->template ComputeAndCompareLiteral(&builder, *expected, {},
- ErrorSpec(1e-5));
+ this->ComputeAndCompareLiteral(&builder, *expected, {}, ErrorSpec(1e-5));
}
XLA_TYPED_TEST(MatOpsSimpleTest_F16F32, MapTwoByTwo) {
@@ -96,8 +95,7 @@ XLA_TYPED_TEST(MatOpsSimpleTest_F16F32, MapTwoByTwo) {
std::unique_ptr<Literal> expected =
Literal::CreateR2FromArray2D<T>({{1.5f, 0.5f}, // row 0
{-0.5f, 1.0f}}); // row 1
- this->template ComputeAndCompareLiteral(&builder, *expected, {},
- ErrorSpec(1e-5));
+ this->ComputeAndCompareLiteral(&builder, *expected, {}, ErrorSpec(1e-5));
}
XLA_TYPED_TEST(MatOpsSimpleTest_F16F32, MaxTwoByTwoValues) {
@@ -116,8 +114,7 @@ XLA_TYPED_TEST(MatOpsSimpleTest_F16F32, MaxTwoByTwoValues) {
std::unique_ptr<Literal> expected =
Literal::CreateR2FromArray2D<T>({{7.0f, 6.0f}, // row 0
{3.0f, -4.0f}}); // row 1
- this->template ComputeAndCompareLiteral(&builder, *expected, {},
- ErrorSpec(1e-6));
+ this->ComputeAndCompareLiteral(&builder, *expected, {}, ErrorSpec(1e-6));
}
struct TestLinspaceMaxParam {
diff --git a/third_party/libxsmm.BUILD b/third_party/libxsmm.BUILD
index 78ed1f4e16..4124f2db63 100644
--- a/third_party/libxsmm.BUILD
+++ b/third_party/libxsmm.BUILD
@@ -38,8 +38,8 @@ genrule(
":libxsmm_interface",
],
visibility = [
- "//third_party/eigen3:__pkg__",
"//tensorflow/core/kernels:__pkg__",
+ "//third_party/eigen3:__pkg__",
],
)