mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-03 18:50:39 +08:00
fix warning
This commit is contained in:
parent
8d2f7ae94b
commit
9e84d135db
@ -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_l1CacheSize = 0;
|
||||||
static std::ptrdiff_t m_l2CacheSize = 0;
|
static std::ptrdiff_t m_l2CacheSize = 0;
|
||||||
|
#ifdef _OPENMP
|
||||||
#pragma omp threadprivate(m_l1CacheSize,m_l2CacheSize)
|
#pragma omp threadprivate(m_l1CacheSize,m_l2CacheSize)
|
||||||
|
#endif
|
||||||
if(m_l1CacheSize==0)
|
if(m_l1CacheSize==0)
|
||||||
{
|
{
|
||||||
m_l1CacheSize = manage_caching_sizes_helper(queryL1CacheSize(),8 * 1024);
|
m_l1CacheSize = manage_caching_sizes_helper(queryL1CacheSize(),8 * 1024);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user