Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion torchvision/csrc/ops/cuda/deform_conv2d_kernel.cu
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,8 @@ void deformable_im2col(
at::Tensor data_col) {
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 blocks = GET_BLOCKS(threads, num_kernels);
Expand Down