From 69653bcaa90ab8a91b74715a7b7e706bec0f4af8 Mon Sep 17 00:00:00 2001 From: Zhang Ting Date: Wed, 12 Oct 2022 14:50:10 +0800 Subject: [PATCH] Revert "remove comment (#46827)" This reverts commit 8a5f17e81e88c7141bfde35673878169be09d043. --- paddle/phi/kernels/gpu/deformable_conv_grad_kernel.cu | 1 + 1 file changed, 1 insertion(+) diff --git a/paddle/phi/kernels/gpu/deformable_conv_grad_kernel.cu b/paddle/phi/kernels/gpu/deformable_conv_grad_kernel.cu index b65bdc8e44f..5d2f4727c53 100644 --- a/paddle/phi/kernels/gpu/deformable_conv_grad_kernel.cu +++ b/paddle/phi/kernels/gpu/deformable_conv_grad_kernel.cu @@ -54,6 +54,7 @@ __global__ void ModulatedDeformableCol2imGpuKernel( MT* grad_im) { int index = blockIdx.x * blockDim.x + threadIdx.x; int offset = blockDim.x * gridDim.x; + // using MT = typename phi::dtype::MPTypeTrait::Type; for (size_t thread = index; thread < nthreads; thread += offset) { const int j = (thread / width_col / height_col / batch_size) % kernel_w; const int i = -- GitLab