Skip to content

Commit bceab3d

Browse files
committed
update mlu_baseop.h
1 parent b334e9c commit bceab3d

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

backends/mlu/kernels/compare_kernel.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ namespace custom_kernel {
1818

1919
template <typename T, typename Context>
2020
void EqualRawKernel(const Context& dev_ctx,
21-
const phi::DenseTensor& x,
22-
const phi::DenseTensor& y,
21+
const DenseTensor& x,
22+
const DenseTensor& y,
2323
int axis,
24-
phi::DenseTensor* out) {
24+
DenseTensor* out) {
2525
MLULogicOp(dev_ctx, x, y, "equal", out);
2626
}
2727

backends/mlu/kernels/funcs/mlu_baseop.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
namespace custom_kernel {
2626

2727
using Tensor = phi::DenseTensor;
28+
using DenseTensor = phi::DenseTensor;
2829
using Context = phi::CustomContext;
2930
using DataType = phi::DataType;
3031
using DataLayout = phi::DataLayout;

0 commit comments

Comments
 (0)