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

github.com/marian-nmt/intgemm/intgemm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikolay Bogoychev <nheart@gmail.com>2019-05-21 18:35:40 +0300
committerNikolay Bogoychev <nheart@gmail.com>2019-05-21 18:35:40 +0300
commit8a273a259f95dd0882e13bea4bab6ceb9d8e4dde (patch)
treec8257537f98d05543fe4f5b0ef213806004d68e8 /benchmark.cc
parent8efca65a7ef3696f3e66a3014e0acab203d1731d (diff)
Fix template parsing
Diffstat (limited to 'benchmark.cc')
-rw-r--r--benchmark.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/benchmark.cc b/benchmark.cc
index 94503b6..24ec18b 100644
--- a/benchmark.cc
+++ b/benchmark.cc
@@ -72,10 +72,10 @@ template <class Backend, class WriteC> void Run(const RandomMatrices &m, std::ve
Backend::PrepareB(m.B.get(), B_prepared.get(), quant_mult, m.width, m.B_cols);
AlignedVector<float> output(m.A_rows * m.B_cols);
// Burn in
- Backend::template Multiply<WriteC>(A_prepared.get(), B_prepared.get(), JustUnquantizeC(output.get(), unquant_mult), m.A_rows, m.width, m.B_cols);
+ Backend::template Multiply<WriteC>(A_prepared.get(), B_prepared.get(), WriteC(output.get(), unquant_mult), m.A_rows, m.width, m.B_cols);
{
StopWatch w(stats);
- Backend::template Multiply<WriteC>(A_prepared.get(), B_prepared.get(), JustUnquantizeC(output.get(), unquant_mult), m.A_rows, m.width, m.B_cols);
+ Backend::template Multiply<WriteC>(A_prepared.get(), B_prepared.get(), WriteC(output.get(), unquant_mult), m.A_rows, m.width, m.B_cols);
}
}