Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
ImageFusion
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Christof Kaufmann
ImageFusion
Commits
19dbcbf6
Commit
19dbcbf6
authored
Sep 9, 2021
by
Christof Kaufmann
Browse files
Options
Downloads
Patches
Plain Diff
build: Add OpenMP reduction to support conda compiler
parent
f605e6e7
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/estarfm.cpp
+2
-1
2 additions, 1 deletion
src/estarfm.cpp
with
2 additions
and
1 deletion
src/estarfm.cpp
+
2
−
1
View file @
19dbcbf6
...
...
@@ -200,6 +200,7 @@ estarfm_impl_detail::SumAndTolHelper::Stats estarfm_impl_detail::SumAndTolHelper
unsigned
int
maskChannel
=
c
<
m_win
.
channels
()
?
c
:
0
;
int
xmax
=
h1_win
.
width
();
int
ymax
=
h1_win
.
height
();
#pragma omp declare reduction(+ : Stats : omp_out += omp_in)
#pragma omp parallel for num_threads(opt.getNumberThreads()) reduction(+ : s)
for
(
int
y
=
0
;
y
<
ymax
;
++
y
)
{
for
(
int
x
=
0
;
x
<
xmax
;
++
x
)
{
...
...
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