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
7cd787ea
Commit
7cd787ea
authored
Aug 22, 2017
by
Pavel Kus
Browse files
using ONE in blas calls in elpa2_tridiag_band_template
parent
b578b38d
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/elpa2/elpa2_tridiag_band_template.F90
View file @
7cd787ea
...
...
@@ -640,10 +640,10 @@
#endif
if
(
wantDebug
)
call
obj
%
timer
%
start
(
"blas"
)
#if REALCASE == 1
call
PRECISION_SYR2
(
'L'
,
nc
,
-
C
ON
ST_1_0
,
hd
,
1
,
hv
,
1
,
ab
(
1
,
ns
),
2
*
nb
-1
)
call
PRECISION_SYR2
(
'L'
,
nc
,
-
ON
E
,
hd
,
1
,
hv
,
1
,
ab
(
1
,
ns
),
2
*
nb
-1
)
#endif
#if COMPLEXCASE == 1
call
PRECISION_HER2
(
'L'
,
nc
,
C
ON
ST_COMPLEX_PAIR_NEGATIVE_1_0
,
hd
,
1
,
hv
,
1
,
ab
(
1
,
ns
),
2
*
nb
-1
)
call
PRECISION_HER2
(
'L'
,
nc
,
-
ON
E
,
hd
,
1
,
hv
,
1
,
ab
(
1
,
ns
),
2
*
nb
-1
)
#endif
if
(
wantDebug
)
call
obj
%
timer
%
stop
(
"blas"
)
hv_t
(:,
my_thread
)
=
0.0_rck
...
...
@@ -1073,10 +1073,10 @@
! ... and calculate remaining columns with rank-2 update
if
(
wantDebug
)
call
obj
%
timer
%
start
(
"blas"
)
#if REALCASE == 1
if
(
nc
>
1
)
call
PRECISION_SYR2
(
'L'
,
nc
-1
,
-
C
ON
ST_1_0
,
hd
(
2
),
1
,
hv
(
2
),
1
,
ab
(
1
,
ns
+1
),
2
*
nb
-1
)
if
(
nc
>
1
)
call
PRECISION_SYR2
(
'L'
,
nc
-1
,
-
ON
E
,
hd
(
2
),
1
,
hv
(
2
),
1
,
ab
(
1
,
ns
+1
),
2
*
nb
-1
)
#endif
#if COMPLEXCASE == 1
if
(
nc
>
1
)
call
PRECISION_HER2
(
'L'
,
nc
-1
,
C
ON
ST_COMPLEX_PAIR_NEGATIVE_1_0
,
hd
(
2
),
1
,
hv
(
2
),
1
,
ab
(
1
,
ns
+1
),
2
*
nb
-1
)
if
(
nc
>
1
)
call
PRECISION_HER2
(
'L'
,
nc
-1
,
-
ON
E
,
hd
(
2
),
1
,
hv
(
2
),
1
,
ab
(
1
,
ns
+1
),
2
*
nb
-1
)
#endif
if
(
wantDebug
)
call
obj
%
timer
%
stop
(
"blas"
)
...
...
@@ -1084,10 +1084,10 @@
! No need to send, just a rank-2 update
if
(
wantDebug
)
call
obj
%
timer
%
start
(
"blas"
)
#if REALCASE == 1
call
PRECISION_SYR2
(
'L'
,
nc
,
-
C
ON
ST_1_0
,
hd
,
1
,
hv
,
1
,
ab
(
1
,
ns
),
2
*
nb
-1
)
call
PRECISION_SYR2
(
'L'
,
nc
,
-
ON
E
,
hd
,
1
,
hv
,
1
,
ab
(
1
,
ns
),
2
*
nb
-1
)
#endif
#if COMPLEXCASE == 1
call
PRECISION_HER2
(
'L'
,
nc
,
C
ON
ST_COMPLEX_PAIR_NEGATIVE_1_0
,
hd
,
1
,
hv
,
1
,
ab
(
1
,
ns
),
2
*
nb
-1
)
call
PRECISION_HER2
(
'L'
,
nc
,
-
ON
E
,
hd
,
1
,
hv
,
1
,
ab
(
1
,
ns
),
2
*
nb
-1
)
#endif
if
(
wantDebug
)
call
obj
%
timer
%
stop
(
"blas"
)
...
...
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