mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
bug #86 : use internal:: namespace instead of ei_ prefix
This commit is contained in:
@@ -116,11 +116,11 @@ EIGEN_DONT_INLINE void gemm(const A& a, const B& b, C& c)
|
||||
|
||||
int main(int argc, char ** argv)
|
||||
{
|
||||
std::ptrdiff_t l1 = ei_queryL1CacheSize();
|
||||
std::ptrdiff_t l2 = ei_queryTopLevelCacheSize();
|
||||
std::ptrdiff_t l1 = internal::queryL1CacheSize();
|
||||
std::ptrdiff_t l2 = internal::queryTopLevelCacheSize();
|
||||
std::cout << "L1 cache size = " << (l1>0 ? l1/1024 : -1) << " KB\n";
|
||||
std::cout << "L2/L3 cache size = " << (l2>0 ? l2/1024 : -1) << " KB\n";
|
||||
typedef ei_gebp_traits<Scalar,Scalar> Traits;
|
||||
typedef internal::gebp_traits<Scalar,Scalar> Traits;
|
||||
std::cout << "Register blocking = " << Traits::mr << " x " << Traits::nr << "\n";
|
||||
|
||||
int rep = 1; // number of repetitions per try
|
||||
|
||||
Reference in New Issue
Block a user