From c4be80f402f634ba9b179a5539f2cb02067e5646 Mon Sep 17 00:00:00 2001 From: wangchaochaohu Date: Thu, 3 Dec 2020 11:08:06 +0800 Subject: [PATCH] polish the code of cumsum and remove some unused code (#29303) --- paddle/fluid/operators/cumsum_op.cu | 3 --- 1 file changed, 3 deletions(-) diff --git a/paddle/fluid/operators/cumsum_op.cu b/paddle/fluid/operators/cumsum_op.cu index 4bf839f748e..f75eb7fd967 100644 --- a/paddle/fluid/operators/cumsum_op.cu +++ b/paddle/fluid/operators/cumsum_op.cu @@ -14,7 +14,6 @@ limitations under the License. */ #include #include -#include #include #include #include "cub/cub.cuh" @@ -95,8 +94,6 @@ struct BlockPrefixCallbackOp { }; // No bank-conflict transpose -// Same as transposeCoalesced except the first tile dimension is padded -// to avoid shared memory bank conflicts. template __global__ void MatrixTranspose(T* odata, const T* idata, size_t height, size_t width) { -- GitLab