Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
elpa
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
15
Issues
15
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Environments
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
elpa
elpa
Commits
63e9e612
Commit
63e9e612
authored
Jul 23, 2020
by
Andreas Marek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Some intendation
parent
1daaa172
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
833 additions
and
831 deletions
+833
-831
src/elpa2/elpa2_bandred_template.F90
src/elpa2/elpa2_bandred_template.F90
+833
-831
No files found.
src/elpa2/elpa2_bandred_template.F90
View file @
63e9e612
...
...
@@ -202,7 +202,7 @@
logical
::
useGPU_reduction_lower_block_to_tridiagonal
integer
(
kind
=
ik
),
intent
(
in
)
::
max_threads
logical
::
do_memcpy
integer
(
kind
=
ik
)
::
i_blk
,
blk_off
integer
(
kind
=
ik
)
::
i_blk
,
blk_off
,
blk_end
call
obj
%
get
(
"is_skewsymmetric"
,
skewsymmetric
,
error
)
if
(
error
.ne.
ELPA_OK
)
then
...
...
@@ -366,6 +366,7 @@
endif
! useQr
#endif /* REALCASE */
blk_end
=
(
na
-1
)/
nbw
if
(
useGPU
)
then
successCUDA
=
cuda_host_register
(
int
(
loc
(
a_mat
),
kind
=
c_intptr_t
),
&
...
...
@@ -383,6 +384,7 @@
check_alloc_cuda
(
"bandred: tmat_dev"
,
successCUDA
)
istep
=
(
na
-1
)/
nbw
blk_end
=
(
na
-1
)/
nbw
n_cols
=
min
(
na
,(
istep
+1
)
*
nbw
)
-
istep
*
nbw
l_cols
=
local_index
(
istep
*
nbw
,
my_pcol
,
np_cols
,
nblk
,
-1
)
l_rows
=
local_index
(
istep
*
nbw
,
my_prow
,
np_rows
,
nblk
,
-1
)
...
...
@@ -428,7 +430,7 @@
endif
! useGPU
do
istep
=
(
na
-1
)/
nbw
,
1
,
-1
do
istep
=
blk_end
,
1
,
-1
n_cols
=
MIN
(
na
,(
istep
+1
)
*
nbw
)
-
istep
*
nbw
! Number of columns in current step
...
...
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