mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
extend monitoring benchmarks with transpose matrix-vector and triangular matrix-vectors.
This commit is contained in:
12
bench/perf_monitoring/gemm/gemvt.cpp
Normal file
12
bench/perf_monitoring/gemm/gemvt.cpp
Normal file
@@ -0,0 +1,12 @@
|
||||
#include "gemv_common.h"
|
||||
|
||||
EIGEN_DONT_INLINE
|
||||
void gemv(const Mat &A, Vec &B, const Vec &C)
|
||||
{
|
||||
B.noalias() += A.transpose() * C;
|
||||
}
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
return main_gemv(argc, argv, gemv);
|
||||
}
|
||||
Reference in New Issue
Block a user