Skip to content

Commit

Permalink
correct circularSim inclution in openmp section
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathieu Gravey committed Nov 14, 2019
1 parent 405b420 commit 4d63eff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/simulation.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ void simulation(FILE *logFile,g2s::DataImage &di, std::vector<g2s::DataImage> &T
{
numberOfVariable+=categoriesValues[i].size()-1;
}
#pragma omp parallel for num_threads(nbThreads) schedule(dynamic,1) default(none) firstprivate( fullStationary, numberOfVariable,categoriesValues,numberOfPointToSimulate,posterioryPath, solvingPath, seedAray, numberNeighbor, importDataIndex, logFile, ii) shared( pathPosition, di, samplingModule, TIs)
#pragma omp parallel for num_threads(nbThreads) schedule(dynamic,1) default(none) firstprivate(circularSim, fullStationary, numberOfVariable,categoriesValues,numberOfPointToSimulate,posterioryPath, solvingPath, seedAray, numberNeighbor, importDataIndex, logFile, ii) shared( pathPosition, di, samplingModule, TIs)
for (unsigned int indexPath = 0; indexPath < numberOfPointToSimulate; ++indexPath){

// if(indexPath<TIs[0].dataSize()/TIs[0]._nbVariable-1000){
Expand Down Expand Up @@ -295,7 +295,7 @@ void simulationFull(FILE *logFile,g2s::DataImage &di, std::vector<g2s::DataImage
{
numberOfVariable+=categoriesValues[i].size()-1;
}
#pragma omp parallel for num_threads(nbThreads) schedule(dynamic,1) default(none) firstprivate(fullStationary, numberOfVariable, categoriesValues, numberOfPointToSimulate, \
#pragma omp parallel for num_threads(nbThreads) schedule(dynamic,1) default(none) firstprivate(circularSim, fullStationary, numberOfVariable, categoriesValues, numberOfPointToSimulate, \
posterioryPath, solvingPath, seedAray, numberNeighbor, importDataIndex, logFile, ii) shared( pathPosition, di, samplingModule, TIs)
for (unsigned int indexPath = 0; indexPath < numberOfPointToSimulate; ++indexPath){

Expand Down

0 comments on commit 4d63eff

Please sign in to comment.