Skip to content

Commit ca5c657

Browse files
Ziminlikilinchange
authored andcommitted
fix: remove unused macro CEIL_DIV
1 parent da81c9e commit ca5c657

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

infini_train/src/kernels/cuda/softmax.cu

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111

1212
namespace infini_train::kernels::cuda {
1313

14-
#define CEIL_DIV(x, y) (((x) + (y)-1) / (y))
15-
1614
template <size_t BLOCK_SIZE, typename T>
1715
__global__ void SoftmaxForwardKernel(T *output, const T *input, int64_t outer_size, int64_t axis_size,
1816
int64_t inner_size) {

0 commit comments

Comments
 (0)