@@ -30,8 +30,8 @@ void MaximumRawKernel(const Context& dev_ctx,
3030 const XPUType* x,
3131 const XPUType* y,
3232 XPUType* z,
33- const std::vector<int >& xshape,
34- const std::vector<int >& yshape) {
33+ const std::vector<int64_t >& xshape,
34+ const std::vector<int64_t >& yshape) {
3535 return xpu::broadcast_max<XPUType>(ctx, x, y, z, xshape, yshape);
3636 };
3737
@@ -49,8 +49,8 @@ void MinimumRawKernel(const Context& dev_ctx,
4949 const XPUType* x,
5050 const XPUType* y,
5151 XPUType* z,
52- const std::vector<int >& xshape,
53- const std::vector<int >& yshape) {
52+ const std::vector<int64_t >& xshape,
53+ const std::vector<int64_t >& yshape) {
5454 return xpu::broadcast_min<XPUType>(ctx, x, y, z, xshape, yshape);
5555 };
5656
@@ -68,8 +68,8 @@ void RemainderRawKernel(const Context& dev_ctx,
6868 const XPUType* x,
6969 const XPUType* y,
7070 XPUType* z,
71- const std::vector<int >& xshape,
72- const std::vector<int >& yshape) {
71+ const std::vector<int64_t >& xshape,
72+ const std::vector<int64_t >& yshape) {
7373 return xpu::broadcast_mod<XPUType>(ctx, x, y, z, xshape, yshape);
7474 };
7575
@@ -87,8 +87,8 @@ void FloorDivideRawKernel(const Context& dev_ctx,
8787 const XPUType* x,
8888 const XPUType* y,
8989 XPUType* z,
90- const std::vector<int >& xshape,
91- const std::vector<int >& yshape) {
90+ const std::vector<int64_t >& xshape,
91+ const std::vector<int64_t >& yshape) {
9292 return xpu::broadcast_floordiv<XPUType>(ctx, x, y, z, xshape, yshape);
9393 };
9494
@@ -106,8 +106,8 @@ void ElementwisePowRawKernel(const Context& dev_ctx,
106106 const XPUType* x,
107107 const XPUType* y,
108108 XPUType* z,
109- const std::vector<int >& xshape,
110- const std::vector<int >& yshape) {
109+ const std::vector<int64_t >& xshape,
110+ const std::vector<int64_t >& yshape) {
111111 return xpu::broadcast_pow<XPUType>(ctx, x, y, z, xshape, yshape);
112112 };
113113
0 commit comments