Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/marian-nmt/intgemm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Heafield <github@kheafield.com>2018-06-24 00:09:38 +0300
committerKenneth Heafield <github@kheafield.com>2018-06-24 00:09:38 +0300
commit09be9c249c73bd3b4c21d261ad3e718981fe2eaa (patch)
tree972ee0e680487b56c7935e15dc39bb9cf1c33c50 /test.cc
parent0ae900a954ee19ebb8d33ba57493e4a14249c719 (diff)
Change to kName using the name of the implementation behind dispatch
Diffstat (limited to 'test.cc')
-rw-r--r--test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test.cc b/test.cc
index bd0ccb6..944e19b 100644
--- a/test.cc
+++ b/test.cc
@@ -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);