From 2ea3700a336ea844389298a7520b386d4ec5fc3b Mon Sep 17 00:00:00 2001 From: Zhang Ting Date: Wed, 12 Oct 2022 22:09:49 +0800 Subject: [PATCH] Revert "remove comment (#46827)" (#46935) 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