Delegate MixedTypeKernel
Mixed-type binary operation kernel signature using void pointers. Handles operations where LHS, RHS, and result may have different types. Type conversion is handled internally by the generated IL.
public delegate void MixedTypeKernel(void* lhs, void* rhs, void* result, int* lhsStrides, int* rhsStrides, int* shape, int ndim, int totalSize)
Parameters
lhsvoid*Pointer to left operand data (typed as LhsType)
rhsvoid*Pointer to right operand data (typed as RhsType)
resultvoid*Pointer to output data (typed as ResultType)
lhsStridesint*Left operand strides (element units)
rhsStridesint*Right operand strides (element units)
shapeint*Output shape dimensions
ndimintNumber of dimensions
totalSizeintTotal number of output elements
- Extension Methods