提交 69653bca 编写于 作者: Z Zhang Ting 提交者: GitHub

Revert "remove comment (#46827)"

This reverts commit 8a5f17e8.
上级 81b5c2a2
...@@ -54,6 +54,7 @@ __global__ void ModulatedDeformableCol2imGpuKernel( ...@@ -54,6 +54,7 @@ __global__ void ModulatedDeformableCol2imGpuKernel(
MT* grad_im) { MT* grad_im) {
int index = blockIdx.x * blockDim.x + threadIdx.x; int index = blockIdx.x * blockDim.x + threadIdx.x;
int offset = blockDim.x * gridDim.x; int offset = blockDim.x * gridDim.x;
// using MT = typename phi::dtype::MPTypeTrait<T>::Type;
for (size_t thread = index; thread < nthreads; thread += offset) { for (size_t thread = index; thread < nthreads; thread += offset) {
const int j = (thread / width_col / height_col / batch_size) % kernel_w; const int j = (thread / width_col / height_col / batch_size) % kernel_w;
const int i = const int i =
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册