2
0
mirror of https://gitlab.com/libeigen/eigen.git synced 2025-04-12 19:20:36 +08:00

Make bench_gemm compatible with 3.2

This commit is contained in:
Gael Guennebaud 2015-12-01 09:57:31 +01:00
parent 6c02cbbb0f
commit 274b2272b7

@ -203,9 +203,10 @@ int main(int argc, char ** argv)
return 1;
}
if(cache_size1>0)
setCpuCacheSizes(cache_size1,cache_size2,cache_size3);
#if EIGEN_VERSION_AT_LEAST(3,2,90)
if(cache_size1>0)
setCpuCacheSizes(cache_size1,cache_size2,cache_size3);
#endif
A a(m,p); a.setRandom();
B b(p,n); b.setRandom();