Skip to content

Commit

Permalink
✨ Refactor: added int8 support for less_than gpu kernel
Browse files Browse the repository at this point in the history
  • Loading branch information
PommesPeter committed Oct 10, 2023
1 parent ad5b059 commit 0ebade0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions paddle/phi/kernels/legacy/kps/compare_kernel.cu
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ PD_REGISTER_KERNEL(less_than_raw,
ALL_LAYOUT,
phi::LessThanRawKernel,
bool,
int8_t,
int16_t,
int,
int64_t,
Expand All @@ -177,6 +178,7 @@ PD_REGISTER_KERNEL(less_than_raw,
ALL_LAYOUT, \
phi::func##RawKernel, \
bool, \
int8_t, \
int16_t, \
int, \
int64_t, \
Expand Down

0 comments on commit 0ebade0

Please sign in to comment.