Skip to content

Commit d77566b

Browse files
polish the code of cumsum and remove some unused code (#29303) (#29423)
1 parent 492d43e commit d77566b

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

paddle/fluid/operators/cumsum_op.cu

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ limitations under the License. */
1414

1515
#include <thrust/device_ptr.h>
1616
#include <thrust/device_vector.h>
17-
#include <thrust/gather.h>
1817
#include <thrust/reverse.h>
1918
#include <thrust/scan.h>
2019
#include "cub/cub.cuh"
@@ -95,8 +94,6 @@ struct BlockPrefixCallbackOp {
9594
};
9695

9796
// No bank-conflict transpose
98-
// Same as transposeCoalesced except the first tile dimension is padded
99-
// to avoid shared memory bank conflicts.
10097
template <typename T, int TILE_DIM, int BLOCK_ROWS>
10198
__global__ void MatrixTranspose(T* odata, const T* idata, size_t height,
10299
size_t width) {

0 commit comments

Comments
 (0)