diff options
author | Kenneth Heafield <github@kheafield.com> | 2018-06-24 00:09:38 +0300 |
---|---|---|
committer | Kenneth Heafield <github@kheafield.com> | 2018-06-24 00:09:38 +0300 |
commit | 09be9c249c73bd3b4c21d261ad3e718981fe2eaa (patch) | |
tree | 972ee0e680487b56c7935e15dc39bb9cf1c33c50 /test.cc | |
parent | 0ae900a954ee19ebb8d33ba57493e4a14249c719 (diff) |
Change to kName using the name of the implementation behind dispatch
Diffstat (limited to 'test.cc')
-rw-r--r-- | test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -111,7 +111,7 @@ template <class Routine> void TestPrepare(int rows = 32, int cols = 16) { SlowRearrange<Integer>(quantized.get(), reference.get(), Routine::kBTileRow, Routine::kBTileCol, rows, cols); if (memcmp(reference.get(), test.get(), rows * cols * sizeof(Integer))) { - std::cerr << "TestPrepare " << Routine::Name() << " Mismatch:\n"; + std::cerr << "TestPrepare " << Routine::kName << " Mismatch:\n"; std::cout << "Quantized Input" << '\n'; PrintMatrix(quantized.get(), rows, cols); std::cerr << "Reference" << '\n'; @@ -185,7 +185,7 @@ void Compare(const float *float_ref, const float *int_ref, const float *int_test template <class Routine> void TestMultiply(int A_rows, int width, int B_cols) { typedef typename Routine::Integer Integer; - std::cout << Routine::Name() << "\t" << A_rows << '\t' << width << '\t' << B_cols << '\n'; + std::cout << Routine::kName << "\t" << A_rows << '\t' << width << '\t' << B_cols << '\n'; // Initialize A and B. AlignedVector<float> A(A_rows * width); |