From d77566b3d517a2deb869629407eec2998650ad3a Mon Sep 17 00:00:00 2001 From: wangchaochaohu Date: Mon, 7 Dec 2020 23:50:43 +0800 Subject: [PATCH] polish the code of cumsum and remove some unused code (#29303) (#29423) --- 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