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
torch-cluster
Commits
5f855a28
"git@developer.sourcefind.cn:OpenDAS/torchaudio.git" did not exist on "62854588d45c9bbaaef7db92724fbdc4c8e5c6a0"
Commit
5f855a28
authored
Mar 26, 2020
by
rusty1s
Browse files
fix illegal memory access
parent
9c33077e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
csrc/cuda/fps_cuda.cu
csrc/cuda/fps_cuda.cu
+1
-0
No files found.
csrc/cuda/fps_cuda.cu
View file @
5f855a28
...
@@ -25,6 +25,7 @@ __global__ void fps_kernel(const scalar_t *src, const int64_t *ptr,
...
@@ -25,6 +25,7 @@ __global__ void fps_kernel(const scalar_t *src, const int64_t *ptr,
}
}
for
(
int64_t
m
=
out_ptr
[
batch_idx
]
+
1
;
m
<
out_ptr
[
batch_idx
+
1
];
m
++
)
{
for
(
int64_t
m
=
out_ptr
[
batch_idx
]
+
1
;
m
<
out_ptr
[
batch_idx
+
1
];
m
++
)
{
__syncthreads
();
int64_t
old
=
out
[
m
-
1
];
int64_t
old
=
out
[
m
-
1
];
scalar_t
best
=
(
scalar_t
)
-
1.
;
scalar_t
best
=
(
scalar_t
)
-
1.
;
...
...
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