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
MMCV
Commits
88d802ce
Unverified
Commit
88d802ce
authored
Jan 18, 2022
by
zhanggefan
Committed by
GitHub
Jan 18, 2022
Browse files
[Fix] Fix the invalid cuda memory access when training s2anet (#1660)
parent
b04ad69d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
mmcv/ops/csrc/pytorch/cuda/active_rotated_filter_cuda.cu
mmcv/ops/csrc/pytorch/cuda/active_rotated_filter_cuda.cu
+1
-1
No files found.
mmcv/ops/csrc/pytorch/cuda/active_rotated_filter_cuda.cu
View file @
88d802ce
...
...
@@ -14,7 +14,7 @@ void ActiveRotatedFilterForwardCUDAKernelLauncher(const Tensor input,
int
kW
=
input
.
size
(
4
);
int
num_rotations
=
indices
.
size
(
3
);
int
nEntry
=
num_orientations
*
kH
*
kW
;
int
output_size
=
out
put
.
numel
();
int
output_size
=
in
put
.
numel
();
at
::
cuda
::
CUDAGuard
device_guard
(
input
.
device
());
cudaStream_t
stream
=
at
::
cuda
::
getCurrentCUDAStream
();
...
...
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