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
070e1c1c
Unverified
Commit
070e1c1c
authored
Apr 28, 2015
by
Andreas Marek
Browse files
Do not call reset_shared_block_c in GPU version
parent
a520490f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/cuUtils.cu
View file @
070e1c1c
...
@@ -433,8 +433,8 @@ __global__ void compute_hh_dotp_c_kernel(double* hh, double* v_dot, const int n
...
@@ -433,8 +433,8 @@ __global__ void compute_hh_dotp_c_kernel(double* hh, double* v_dot, const int n
// The thread index indicates the position within the two HH reflectors
// The thread index indicates the position within the two HH reflectors
t_idx
=
threadIdx
.
x
;
t_idx
=
threadIdx
.
x
;
// The contents of the shared memory must be fully reset
//
// The contents of the shared memory must be fully reset
reset_shared_block_c
(
hh_s
,
128
);
//
reset_shared_block_c(hh_s, 128);
// Initialize the contents of the shared buffer (preparing for reduction)
// Initialize the contents of the shared buffer (preparing for reduction)
if
(
t_idx
>
0
)
if
(
t_idx
>
0
)
...
...
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