Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
bmDCA
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Jerry Dinan
bmDCA
Commits
9ae7d8cf
Commit
9ae7d8cf
authored
4 years ago
by
sudorook
Browse files
Options
Downloads
Patches
Plain Diff
use dynamic scheduler for correlation loops
parent
70e6afa1
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/mcmc_stats.cpp
+2
-2
2 additions, 2 deletions
src/mcmc_stats.cpp
with
2 additions
and
2 deletions
src/mcmc_stats.cpp
+
2
−
2
View file @
9ae7d8cf
...
...
@@ -105,7 +105,7 @@ MCMCStats::computeCorrelations(void)
// Compute distances within replicates
#pragma omp parallel
{
#pragma omp for
#pragma omp for
schedule(dynamic,1)
for
(
int
rep
=
0
;
rep
<
reps
;
rep
++
)
{
arma
::
Mat
<
int
>
slice
=
(
samples
->
slice
(
rep
)).
t
();
for
(
int
seq1
=
0
;
seq1
<
M
;
seq1
++
)
{
...
...
@@ -136,7 +136,7 @@ MCMCStats::computeCorrelations(void)
// Compute distances between replicates
#pragma omp parallel
{
#pragma omp for
#pragma omp for
schedule(dynamic,1)
for
(
int
seq
=
0
;
seq
<
M
;
seq
++
)
{
for
(
int
rep1
=
0
;
rep1
<
reps
;
rep1
++
)
{
for
(
int
rep2
=
rep1
+
1
;
rep2
<
reps
;
rep2
++
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment