QMCPACK
OMPThreadCountProtectorLA.cpp
Go to the documentation of this file.
1
//////////////////////////////////////////////////////////////////////////////////////
2
// This file is distributed under the University of Illinois/NCSA Open Source License.
3
// See LICENSE file in top directory for details.
4
//
5
// Copyright (c) 2023 QMCPACK developers.
6
//
7
// File developed by: Ye Luo, yeluo@anl.gov, Argonne National Laboratory
8
//
9
// File created by: Ye Luo, yeluo@anl.gov, Argonne National Laboratory
10
//
11
//////////////////////////////////////////////////////////////////////////////////////
12
13
#include "
OMPThreadCountProtectorLA.hpp
"
14
15
namespace
qmcplusplus
16
{
17
OMPThreadCountProtectorLA::OMPThreadCountProtectorLA
()
18
{
19
#if defined(HAVE_OPENBLAS)
20
handle_
= std::make_unique<Protector>();
21
#endif
22
}
23
24
OMPThreadCountProtectorLA::~OMPThreadCountProtectorLA
() =
default
;
25
}
// namespace qmcplusplus
qmcplusplus
helper functions for EinsplineSetBuilder
Definition:
Configuration.h:43
qmcplusplus::OMPThreadCountProtectorLA::~OMPThreadCountProtectorLA
~OMPThreadCountProtectorLA()
qmcplusplus::OMPThreadCountProtectorLA::OMPThreadCountProtectorLA
OMPThreadCountProtectorLA()
Definition:
OMPThreadCountProtectorLA.cpp:17
OMPThreadCountProtectorLA.hpp
qmcplusplus::OMPThreadCountProtectorLA::handle_
std::unique_ptr< Protector > handle_
Definition:
OMPThreadCountProtectorLA.hpp:28
src
Platforms
CPU
OMPThreadCountProtectorLA.cpp
Generated on Fri Jun 28 2024 10:45:16 for QMCPACK by
1.8.14