Skip to content
GitLab
Menu
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
5f26aa45
Commit
5f26aa45
authored
Aug 29, 2017
by
Pavel Kus
Committed by
Andreas Marek
Sep 03, 2017
Browse files
further polishing elpa2_trans_ev_tridi_to_band_template
parent
c20ab6b3
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/elpa2/elpa2_trans_ev_tridi_to_band_template.F90
View file @
5f26aa45
...
...
@@ -2020,8 +2020,7 @@
&
MATH_DATATYPE
&
&
_
gpu_
&
&
PRECISION
&
&(
&
row_group_dev
,
aIntern_dev
,
stripe_count
,
stripe_width
,
last_stripe_width
,
a_dim2
,
l_nev
,
&
&(
row_group_dev
,
aIntern_dev
,
stripe_count
,
stripe_width
,
last_stripe_width
,
a_dim2
,
l_nev
,
&
row_group
(:,
:),
j
*
nblk
+
a_off
,
row_group_size
)
do
i
=
1
,
row_group_size
...
...
@@ -2031,24 +2030,18 @@
do
i
=
1
,
min
(
na
-
num_blk
*
nblk
,
nblk
)
#ifdef WITH_OPENMP
#if REALCASE == 1
call
pack_row_real_cpu_openmp_
&
#endif
#if COMPLEXCASE == 1
call
pack_row_complex_cpu_openmp_
&
#endif
call
pack_row_
&
&
MATH_DATATYPE
&
&
_
cpu_openmp_
&
&
PRECISION
&
&(
obj
,
aIntern
,
row
,
j
*
nblk
+
i
+
a_off
,
stripe_width
,
stripe_count
,
max_threads
,
thread_width
,
l_nev
)
#else /* WITH_OPENMP */
#if REALCASE == 1
call
pack_row_real_cpu_
&
#endif
#if COMPLEXCASE == 1
call
pack_row_complex_cpu_
&
#endif
call
pack_row_
&
&
MATH_DATATYPE
&
&
_
cpu_
&
&
PRECISION
&
&(
obj
,
aIntern
,
row
,
j
*
nblk
+
i
+
a_off
,
stripe_width
,
last_stripe_width
,
stripe_count
)
&(
obj
,
aIntern
,
row
,
j
*
nblk
+
i
+
a_off
,
stripe_width
,
last_stripe_width
,
stripe_count
)
#endif /* WITH_OPENMP */
q
((
num_blk
/
np_rows
)
*
nblk
+
i
,
1
:
l_nev
)
=
row
(:)
enddo
...
...
@@ -2061,32 +2054,23 @@
&
MATH_DATATYPE
&
&
_
gpu_
&
&
PRECISION
&
&(
&
row_group_dev
,
aIntern_dev
,
stripe_count
,
stripe_width
,
&
&(
row_group_dev
,
aIntern_dev
,
stripe_count
,
stripe_width
,
&
last_stripe_width
,
a_dim2
,
l_nev
,
&
result_buffer
(:,
:,
nbuf
),
j
*
nblk
+
a_off
,
nblk
)
else
! useGPU
do
i
=
1
,
nblk
#if WITH_OPENMP
#if REALCASE == 1
call
pack_row_real_cpu_openmp_
&
#endif
#if COMPLEXCASE == 1
call
pack_row_complex_cpu_openmp_
&
#endif
&
PRECISION
&
&(
obj
,
aIntern
,
result_buffer
(:,
i
,
nbuf
),
j
*
nblk
+
i
+
a_off
,
stripe_width
,
stripe_count
,
&
call
pack_row_
&
&
MATH_DATATYPE
&
&
_
cpu_openmp_
&
&
PRECISION
&
&(
obj
,
aIntern
,
result_buffer
(:,
i
,
nbuf
),
j
*
nblk
+
i
+
a_off
,
stripe_width
,
stripe_count
,
&
max_threads
,
thread_width
,
l_nev
)
#else /* WITH_OPENMP */
#if REALCASE == 1
call
pack_row_real_cpu_
&
#endif
#if COMPLEXCASE == 1
call
pack_row_complex_cpu_
&
#endif
call
pack_row_
&
&
MATH_DATATYPE
&
&
_
cpu_
&
&
PRECISION
&
&(
obj
,
aIntern
,
result_buffer
(:,
i
,
nbuf
),
j
*
nblk
+
i
+
a_off
,
stripe_width
,
last_stripe_width
,
stripe_count
)
#endif /* WITH_OPENMP */
...
...
Write
Preview
Supports
Markdown
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