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

§ 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-2015 Shark Development Team



This file is part of Shark. http://image.diku.dk/shark/

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::NegativeLogLikelihood::evalDerivative(), shark::ContrastiveDivergence< Operator >::evalDerivative(), shark::KernelTargetAlignment< InputType, LabelType >::evalDerivative(), shark::Autoencoder< HiddenNeuron, OutputNeuron >::evalLayer(), shark::TiedAutoencoder< HiddenNeuron, OutputNeuron >::evalLayer(), shark::FFNet< HiddenNeuron, OutputNeuron >::evalLayer(), shark::SimpleNearestNeighbors< InputType, LabelType >::getNeighbors(), shark::InvertedGenerationalDistance::leastContributor(), shark::AdditiveEpsilonIndicator::leastContributor(), shark::MultiplicativeEpsilonIndicator::leastContributor(), shark::HypervolumeIndicator::leastContributor(), shark::AbstractModel< InputT, unsigned int >::operator()(), and shark::transform().

§ SHARK_THREAD_NUM

#define SHARK_THREAD_NUM   (std::size_t)0