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
vision
Commits
979ecaca
Unverified
Commit
979ecaca
authored
Oct 26, 2021
by
Vasilis Vryniotis
Committed by
GitHub
Oct 26, 2021
Browse files
Fixing clang formatter. (#4747)
parent
f1ff4d12
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
torchvision/csrc/ops/cuda/deform_conv2d_kernel.cu
torchvision/csrc/ops/cuda/deform_conv2d_kernel.cu
+2
-1
No files found.
torchvision/csrc/ops/cuda/deform_conv2d_kernel.cu
View file @
979ecaca
...
@@ -230,7 +230,8 @@ void deformable_im2col(
...
@@ -230,7 +230,8 @@ void deformable_im2col(
at
::
Tensor
data_col
)
{
at
::
Tensor
data_col
)
{
at
::
cuda
::
CUDAGuard
device_guard
(
input
.
get_device
());
at
::
cuda
::
CUDAGuard
device_guard
(
input
.
get_device
());
const
int64_t
num_kernels
=
(
int64_t
)
n_in_channels
*
out_h
*
out_w
*
parallel_imgs
;
const
int64_t
num_kernels
=
(
int64_t
)
n_in_channels
*
out_h
*
out_w
*
parallel_imgs
;
const
unsigned
int
threads
=
GET_THREADS
();
const
unsigned
int
threads
=
GET_THREADS
();
const
unsigned
int
blocks
=
GET_BLOCKS
(
threads
,
num_kernels
);
const
unsigned
int
blocks
=
GET_BLOCKS
(
threads
,
num_kernels
);
...
...
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