arrayfire-rust
arrayfire-rust copied to clipboard
Support implicit promoting with f16
Closes #320
- Create a ImplicitPromote
trait and implement it for other types - Implement ImplicitPromote<T> traits for f16
I think the clippy errors are inherited from the current HEAD.
@9prady9 I think this is good to go. I made additional changes for f16 for other functions but I was having a problem with the negate function. I think the problem is that the num package does support half::f16 but I am not sure.
@umar456 thanks umar, will take a look at it soon.
I think the clippy errors are inherited from the current HEAD.
I took care of those, thanks for letting me know.
@9prady9 I think this is good to go. I made additional changes for f16 for other functions but I was having a problem with the negate function. I think the problem is that the num package does support half::f16 but I am not sure.
thank you. Documentation is not clear on that one, I will check that once more.
Could we also update the half 1.5.0 to half 2.2.0 in arrayfire-rust? to get new features