Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
elpa
elpa
Commits
e62678d3
Commit
e62678d3
authored
Jun 06, 2016
by
Andreas Marek
Browse files
Error in complex single precision
The thread_width was not set correctly
parent
96363a5e
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/elpa2_compute_complex_template.X90
View file @
e62678d3
...
@@ -3156,7 +3156,7 @@
...
@@ -3156,7 +3156,7 @@
if (useGPU) then
if (useGPU) then
stripe_width = 256
stripe_width = 256
else
else
#ifdef DOUBLE_PRECISION_
REAL
#ifdef DOUBLE_PRECISION_
COMPLEX
stripe_width = 48 ! Must be a multiple of 2
stripe_width = 48 ! Must be a multiple of 2
#else
#else
stripe_width = 48 ! Must be a multiple of 4
stripe_width = 48 ! Must be a multiple of 4
...
@@ -3190,7 +3190,7 @@
...
@@ -3190,7 +3190,7 @@
#endif /* WITH_OPENMP */
#endif /* WITH_OPENMP */
if (.not.(useGPU)) then
if (.not.(useGPU)) then
#ifdef DOUBLE_PRECISION_
REAL
#ifdef DOUBLE_PRECISION_
COMPLEX
stripe_width = ((stripe_width+1)/2)*2 ! Must be a multiple of 2 because of AVX/SSE memory alignment of 32 bytes
stripe_width = ((stripe_width+1)/2)*2 ! Must be a multiple of 2 because of AVX/SSE memory alignment of 32 bytes
! (2 * sizeof(double complex) == 32)
! (2 * sizeof(double complex) == 32)
#else
#else
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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