Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dgl
Commits
e6f6ce27
Unverified
Commit
e6f6ce27
authored
Aug 13, 2020
by
Zihao Ye
Committed by
GitHub
Aug 13, 2020
Browse files
[hotfix] Fix cuda illegal memory access error in SpMMCoo. (#2015)
* up * pylint * upd
parent
4672c022
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/array/cuda/spmm.cuh
src/array/cuda/spmm.cuh
+1
-1
No files found.
src/array/cuda/spmm.cuh
View file @
e6f6ce27
...
...
@@ -224,7 +224,7 @@ void SpMMCoo(
int64_t
out_size
=
out
.
NumElements
();
const
int
nt
=
FindNumThreads
(
out_size
);
const
int
nb
=
(
out_size
+
nt
-
1
)
/
nt
;
_FillKernel
<<<
n
t
,
n
b
,
0
,
thr_entry
->
stream
>>>
(
out_data
,
out_size
,
ReduceOp
::
zero
);
_FillKernel
<<<
n
b
,
n
t
,
0
,
thr_entry
->
stream
>>>
(
out_data
,
out_size
,
ReduceOp
::
zero
);
const
int
ntx
=
FindNumThreads
(
len
);
const
int
nty
=
CUDA_MAX_NUM_THREADS
/
ntx
;
...
...
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