Commit fa5a3ab9 authored by GRASLAND Hadrien's avatar GRASLAND Hadrien
Browse files

Updated the benchmarks

parent 1570b65e
......@@ -24,12 +24,12 @@ int main(int argc, char **argv) {
}
}
using M = BaseMatrix<float, SIZE, VECSIZE>;
using M = BaseMatrix<float, SIZE, SIZE>;
M pa(a), pb(b), pc;
for (unsigned int i=0; i < REPEAT; i++) {
matrix_mul_m_m<M>(pa, pb, pc);
matrix_mul_m_m<M>(pb, pc, pa);
matrix_mul_m_m(pa, pb, pc);
matrix_mul_m_m(pb, pc, pa);
}
std::cout << pa << std::endl;
......
......@@ -32,17 +32,17 @@ int main(int argc, char **argv) {
}
}
using M = BaseMatrix<float, SIZE, VECSIZE>;
using M = BaseMatrix<float, SIZE, SIZE>;
M pa(a), pb(b), pf;
// std::cout << pa << std::endl;
// std::cout << pb << std::endl;
for (unsigned int i=0; i<200000000; i++) {
matrix_mul_m_m<M>(pb, pa, pf);
matrix_mul_m_m<M>(pf, pb, pa);
//matrix_mul_sym<M>(pb, pa, pf);
//matrix_mul<M>(pf, pb, pa);
matrix_mul_m_m(pb, pa, pf);
matrix_mul_m_m(pf, pb, pa);
//matrix_mul_sym(pb, pa, pf);
//matrix_mul(pf, pb, pa);
}
std::cout << pa << std::endl;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment