mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-06-04 18:54:00 +08:00
Make bench_gemm compatible with 3.2
This commit is contained in:
parent
6c02cbbb0f
commit
274b2272b7
@ -203,9 +203,10 @@ int main(int argc, char ** argv)
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if EIGEN_VERSION_AT_LEAST(3,2,90)
|
||||||
if(cache_size1>0)
|
if(cache_size1>0)
|
||||||
setCpuCacheSizes(cache_size1,cache_size2,cache_size3);
|
setCpuCacheSizes(cache_size1,cache_size2,cache_size3);
|
||||||
|
#endif
|
||||||
|
|
||||||
A a(m,p); a.setRandom();
|
A a(m,p); a.setRandom();
|
||||||
B b(p,n); b.setRandom();
|
B b(p,n); b.setRandom();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user