polish the code of cumsum and remove some unused code (#29303)

revert-31562-mean
wangchaochaohu 4 years ago committed by GitHub
parent 2cd0bf5764
commit c4be80f402
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -14,7 +14,6 @@ limitations under the License. */
#include <thrust/device_ptr.h>
#include <thrust/device_vector.h>
#include <thrust/gather.h>
#include <thrust/reverse.h>
#include <thrust/scan.h>
#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 <typename T, int TILE_DIM, int BLOCK_ROWS>
__global__ void MatrixTranspose(T* odata, const T* idata, size_t height,
size_t width) {

Loading…
Cancel
Save