Skip to content

Commit

Permalink
Fix unused variable warning in DilatedMaxPool3d.cu (pytorch#71590)
Browse files Browse the repository at this point in the history
Summary: Pull Request resolved: pytorch#71590

Test Plan: Sandcastle

Reviewed By: malfet

Differential Revision: D33692617

fbshipit-source-id: e9663458c8598822d3b022a0623a66a0e8d1fa5f
(cherry picked from commit 692c94a)
  • Loading branch information
r-barnes authored and pytorchmergebot committed Jan 22, 2022
1 parent b9a7dd7 commit 6edb06d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions aten/src/ATen/native/cuda/DilatedMaxPool3d.cu
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ __global__ static void max_pool3d_with_indices_backward_single_out_frame(
int itime, int iheight, int iwidth,
int dT, int dH, int dW,
int pT, int pH, int pW,
int dilationT, int dilationH, int dilationW,
int dilationT, int dilationH,
int offsetZ)
{
int oColumn = blockIdx.x * blockDim.x + threadIdx.x;
Expand Down Expand Up @@ -159,7 +159,7 @@ void max_pool3d_with_indices_backward_out_frame(
int oheight, int owidth,
int dT, int dH, int dW,
int pT, int pH, int pW,
int dilationT, int dilationH, int dilationW)
int dilationT, int dilationH)
{
int offsetZ = 0;
dim3 block(32, 8);
Expand All @@ -177,7 +177,7 @@ void max_pool3d_with_indices_backward_out_frame(
itime, iheight, iwidth,
dT, dH, dW,
pT, pH, pW,
dilationT, dilationH, dilationW,
dilationT, dilationH,
offsetZ);
C10_CUDA_KERNEL_LAUNCH_CHECK();

Expand Down Expand Up @@ -404,7 +404,7 @@ void max_pool3d_with_indices_backward_out_cuda_template(
oheight, owidth,
dT, dH, dW,
pT, pH, pW,
dilationT, dilationH, dilationW);
dilationT, dilationH);
}
);
}
Expand Down

0 comments on commit 6edb06d

Please sign in to comment.