Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
mantid
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mantidproject
mantid
Commits
e808c077
Commit
e808c077
authored
6 years ago
by
Neil Vaytet
Browse files
Options
Downloads
Patches
Plain Diff
Refs #20443 : added static schedule to omp for loop
parent
f917b630
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Framework/Kernel/inc/MantidKernel/Strings.h
+1
-1
1 addition, 1 deletion
Framework/Kernel/inc/MantidKernel/Strings.h
with
1 addition
and
1 deletion
Framework/Kernel/inc/MantidKernel/Strings.h
+
1
−
1
View file @
e808c077
...
...
@@ -164,7 +164,7 @@ join(ITERATOR_TYPE begin, ITERATOR_TYPE end, const std::string &separator,
// Initialise ostringstream
std
::
ostringstream
thread_stream
;
#pragma omp for
#pragma omp for
schedule(static)
for
(
int
i
=
0
;
i
<
dist
;
i
++
)
{
// Write to ostringstream
thread_stream
<<
separator
<<
*
(
begin
+
i
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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