-
Notifications
You must be signed in to change notification settings - Fork 59
Support implicit promoting with f16 #321
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support implicit promoting with f16 #321
Conversation
I think the clippy errors are inherited from the current HEAD. |
0c1e9e9
to
d1b9d67
Compare
d1b9d67
to
fb98756
Compare
eab810f
to
552a84a
Compare
@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. |
552a84a
to
93b1036
Compare
I took care of those, thanks for letting me know. |
thank you. Documentation is not clear on that one, I will check that once more. |
93b1036
to
0639258
Compare
Could we also update the half 1.5.0 to half 2.2.0 in arrayfire-rust? to get new features |
- Create a ImplicitPromote<f16> trait and implement it for other types - Implement ImplicitPromote<T> traits for f16
0639258
to
f0c63ac
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry about the extended delay on this. Thanks for this contribution @Benjamin-Philip and @umar456 for pitching in.
Closes #320