mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
fix warning
This commit is contained in:
@@ -41,7 +41,9 @@ inline void manage_caching_sizes(Action action, std::ptrdiff_t* l1=0, std::ptrdi
|
||||
{
|
||||
static std::ptrdiff_t m_l1CacheSize = 0;
|
||||
static std::ptrdiff_t m_l2CacheSize = 0;
|
||||
#ifdef _OPENMP
|
||||
#pragma omp threadprivate(m_l1CacheSize,m_l2CacheSize)
|
||||
#endif
|
||||
if(m_l1CacheSize==0)
|
||||
{
|
||||
m_l1CacheSize = manage_caching_sizes_helper(queryL1CacheSize(),8 * 1024);
|
||||
|
||||
Reference in New Issue
Block a user