Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openstructure
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository 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
schwede
openstructure
Commits
f276f8e1
Commit
f276f8e1
authored
10 years ago
by
Andreas Schenk
Browse files
Options
Downloads
Patches
Plain Diff
added some explicit template instantiations needed for Intel compiler
parent
31f2863e
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
modules/img/alg/src/fft.cc
+4
-0
4 additions, 0 deletions
modules/img/alg/src/fft.cc
modules/img/base/src/image_state/binop.cc
+14
-1
14 additions, 1 deletion
modules/img/base/src/image_state/binop.cc
with
18 additions
and
1 deletion
modules/img/alg/src/fft.cc
+
4
−
0
View file @
f276f8e1
...
...
@@ -267,6 +267,10 @@ ImageStateBasePtr FFTFnc::VisitState(const ImageStateImpl<T,D>& s) const
throw
FFTException
(
ostr
.
str
());
}
// force explicit instantiation to make intel compiler happy
template
ImageStateBasePtr
FFTFnc
::
VisitState
<
float
,
FrequencyDomain
>(
const
ImageStateImpl
<
float
,
FrequencyDomain
>&
)
const
;
template
ImageStateBasePtr
FFTFnc
::
VisitState
<
unsigned
short
,
SpatialDomain
>(
const
ImageStateImpl
<
unsigned
short
,
SpatialDomain
>&
)
const
;
}
//alg ns
template
class
TEMPLATE_DEF_EXPORT
image_state
::
ImageStateConstModOPAlgorithm
<
alg
::
FFTFnc
>;
...
...
This diff is collapsed.
Click to expand it.
modules/img/base/src/image_state/binop.cc
+
14
−
1
View file @
f276f8e1
...
...
@@ -103,7 +103,20 @@ template struct fnc_paste_ip<Word,SpatialDomain,Complex,HalfFrequencyDomain>;
template
struct
fnc_paste_ip
<
Real
,
FrequencyDomain
,
Complex
,
HalfFrequencyDomain
>;
template
struct
fnc_paste_ip
<
Complex
,
FrequencyDomain
,
Complex
,
HalfFrequencyDomain
>;
template
struct
fnc_paste_ip
<
Complex
,
HalfFrequencyDomain
,
Complex
,
HalfFrequencyDomain
>;
template
struct
fnc_paste_ip
<
Real
,
FrequencyDomain
,
Complex
,
SpatialDomain
>;
template
struct
fnc_paste_ip
<
Real
,
FrequencyDomain
,
unsigned
short
,
SpatialDomain
>;
template
struct
fnc_paste_ip
<
Complex
,
FrequencyDomain
,
unsigned
short
,
SpatialDomain
>;
template
struct
fnc_paste_ip
<
Complex
,
HalfFrequencyDomain
,
unsigned
short
,
SpatialDomain
>;
template
struct
fnc_paste_ip
<
Complex
,
HalfFrequencyDomain
,
Real
,
SpatialDomain
>;
template
struct
fnc_paste_ip
<
Complex
,
HalfFrequencyDomain
,
Complex
,
SpatialDomain
>;
template
struct
fnc_paste_ip
<
Complex
,
FrequencyDomain
,
Complex
,
SpatialDomain
>;
template
struct
fnc_paste_ip
<
Complex
,
FrequencyDomain
,
Real
,
SpatialDomain
>;
template
struct
fnc_paste_ip
<
Real
,
FrequencyDomain
,
Real
,
SpatialDomain
>;
template
struct
fnc_add_ip
<
Real
,
SpatialDomain
,
Real
,
SpatialDomain
>;
template
struct
fnc_sub_ip
<
Real
,
SpatialDomain
,
Real
,
SpatialDomain
>;
template
struct
fnc_mul_ip
<
Real
,
SpatialDomain
,
Real
,
SpatialDomain
>;
template
struct
fnc_div_ip
<
Real
,
SpatialDomain
,
Real
,
SpatialDomain
>;
}
template
struct
dispatch
::
binary_dispatch_ip
<
binop
::
fnc_add_ip
>;
...
...
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