forked from jittor/jittor
parent
764c8425af
commit
beebddafd5
|
@ -47,6 +47,7 @@ void NcclBroadcastOp::jit_run() {
|
|||
@if(@strcmp(@Tx,int)==0 || @strcmp(@Tx,int32)==0, ncclInt)
|
||||
@if(@strcmp(@Tx,float64)==0, ncclFloat64)
|
||||
@if(@strcmp(@Tx,int64)==0, ncclInt64)
|
||||
@if(@strcmp(@Tx,uint8)==0, ncclUint8)
|
||||
)
|
||||
auto* __restrict__ xp = x->ptr<Tx>();
|
||||
auto* __restrict__ yp = y->ptr<Tx>();
|
||||
|
|
Loading…
Reference in New Issue