Is your feature request related to a problem or challenge? Please describe what you are trying to do.
As part of documenting the _mut compute kernels better in #5798 I noticed in #5798 (comment) thta
binary_mut is inconsistent with binary as it requires both a and b to be the same type of array (where binary can take different types)
Describe the solution you'd like
I would like to have the argument types to binary_mut be different -- so for example, I could write a kernel using binary_mut that took a Float32Array and a Int32Array and added the int32 vale to the float in place.
Describe alternatives you've considered
Leave as is
Additional context
@viirya I think added this API in #3144
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
As part of documenting the
_mutcompute kernels better in #5798 I noticed in #5798 (comment) thtabinary_mut is inconsistent with
binaryas it requires bothaandbto be the same type of array (wherebinarycan take different types)Describe the solution you'd like
I would like to have the argument types to
binary_mutbe different -- so for example, I could write a kernel usingbinary_mutthat took aFloat32Arrayand aInt32Arrayand added the int32 vale to the float in place.Describe alternatives you've considered
Leave as is
Additional context
@viirya I think added this API in #3144