Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions paddle/phi/kernels/gpu/contiguous_kernel.cu
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ bool LaunchContiguousCazeOneKernel(
const phi::Array<int64_t, phi::DDim::kMaxRank + 1>& input_stride,
const phi::Array<int64_t, phi::DDim::kMaxRank + 1>& input_dims,
int rank,
int numel,
int64_t numel,
T* output_data) {
dim3 grid(1, 1, 1), block(1, 1, 1);
phi::Array<int64_t, 6> cur_input_dims;
Expand Down Expand Up @@ -427,7 +427,7 @@ void LaunchContiguousDefaultKernel(
const phi::Array<int64_t, phi::DDim::kMaxRank + 1>& input_stride,
const phi::Array<int64_t, phi::DDim::kMaxRank + 1>& input_dims,
int rank,
int numel,
int64_t numel,
T* output_data) {
int64_t block = 512;
int64_t grid = (numel + block - 1) / block;
Expand Down
Loading