Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
elpa
elpa
Commits
38c1d3c3
Commit
38c1d3c3
authored
Jun 19, 2019
by
Andreas Marek
Browse files
Fix new kernel
parent
a5a5ef89
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/elpa2/kernels/complex_128bit_256bit_512bit_BLOCK_template.c
View file @
38c1d3c3
...
...
@@ -5857,8 +5857,8 @@ static __forceinline void CONCAT_8ARGS(hh_trafo_complex_kernel_,ROW_LENGTH,_,SIM
#endif
/* VEC_SET == AVX_256 */
#if VEC_SET == AVX_512
h
1
_real
=
_SIMD_SET1
(
hh_dbl
[(
ldh
+
i
)
*
2
]);
h
1
_imag
=
_SIMD_SET1
(
hh_dbl
[((
ldh
+
i
)
*
2
)
+
1
]);
h
2
_real
=
_SIMD_SET1
(
hh_dbl
[(
ldh
+
i
)
*
2
]);
h
2
_imag
=
_SIMD_SET1
(
hh_dbl
[((
ldh
+
i
)
*
2
)
+
1
]);
#endif
/* AVX_512 */
#ifndef __ELPA_USE_FMA__
...
...
@@ -6165,12 +6165,12 @@ static __forceinline void CONCAT_8ARGS(hh_trafo_complex_kernel_,ROW_LENGTH,_,SIM
{
#if VEC_SET == SSE_128
#ifdef DOUBLE_PRECISION_COMPLEX
h1_real
=
_mm_loaddup_pd
(
&
hh_dbl
[(
i
-
BLOCK
+
1
)
*
2
]);
h1_imag
=
_mm_loaddup_pd
(
&
hh_dbl
[((
i
-
BLOCK
+
1
)
*
2
)
+
1
]);
h1_real
=
_mm_loaddup_pd
(
&
hh_dbl
[(
i
-
BLOCK
+
1
)
*
2
]);
h1_imag
=
_mm_loaddup_pd
(
&
hh_dbl
[((
i
-
BLOCK
+
1
)
*
2
)
+
1
]);
#endif
#ifdef SINGLE_PRECISION_COMPLEX
h1_real
=
_mm_moveldup_ps
(
_mm_castpd_ps
(
_mm_loaddup_pd
(
(
double
*
)(
&
hh_dbl
[(
i
-
BLOCK
+
1
)
*
2
])
)));
h1_imag
=
_mm_moveldup_ps
(
_mm_castpd_ps
(
_mm_loaddup_pd
(
(
double
*
)(
&
hh_dbl
[((
i
-
BLOCK
+
1
)
*
2
)
+
1
])
)));
h1_real
=
_mm_moveldup_ps
(
_mm_castpd_ps
(
_mm_loaddup_pd
(
(
double
*
)(
&
hh_dbl
[(
i
-
BLOCK
+
1
)
*
2
])
)));
h1_imag
=
_mm_moveldup_ps
(
_mm_castpd_ps
(
_mm_loaddup_pd
(
(
double
*
)(
&
hh_dbl
[((
i
-
BLOCK
+
1
)
*
2
)
+
1
])
)));
#endif
#endif
/* VEC_SET == SSE_128 */
...
...
Write
Preview
Supports
Markdown
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!
Cancel
Please
register
or
sign in
to comment