OpenMP.h File Reference
#include <shark/Core/Shark.h>

Go to the source code of this file.

Macros

#define SHARK_PARALLEL_FOR   for
 Set of macros to help usage of OpenMP with Shark. More...
 
#define SHARK_CRITICAL_REGION
 
#define SHARK_NUM_THREADS   (std::size_t)1
 
#define SHARK_THREAD_NUM   (std::size_t)0
 

Macro Definition Documentation

◆ SHARK_CRITICAL_REGION

◆ SHARK_NUM_THREADS

#define SHARK_NUM_THREADS   (std::size_t)1

Definition at line 62 of file OpenMP.h.

Referenced by shark::ContrastiveDivergence< Operator >::evalDerivative().

◆ SHARK_PARALLEL_FOR

#define SHARK_PARALLEL_FOR   for

Set of macros to help usage of OpenMP with Shark.

Author
Oswin Krause
Date
2012
Copyright 1995-2017 Shark Development Team



This file is part of Shark. http://shark-ml.org/

Shark is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Shark is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with Shark. If not, see http://www.gnu.org/licenses/.

Definition at line 60 of file OpenMP.h.

Referenced by shark::calculateMixedKernelMatrix(), shark::calculateRegularizedKernelMatrix(), shark::NegativeLogLikelihood::eval(), shark::AbstractLoss< unsigned int, RealVector >::eval(), shark::ContrastiveDivergence< Operator >::evalDerivative(), shark::KernelTargetAlignment< InputType, LabelType >::evalDerivative(), shark::HypervolumeContributionMD::largest(), shark::GaussianKernelMatrix< T, CacheType >::row(), shark::KernelMatrix< InputType, CacheType >::row(), shark::HypervolumeContributionMD::smallest(), and shark::transform().

◆ SHARK_THREAD_NUM

#define SHARK_THREAD_NUM   (std::size_t)0

Definition at line 63 of file OpenMP.h.