-
Notifications
You must be signed in to change notification settings - Fork 30
impl elementwise hyperbolic and trigonometric functions #1234
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
Conversation
View rendered docs @ https://intelpython.github.io/dpctl/pulls/1234/index.html |
Array API standard conformance tests for dpctl=0.14.3dev3=py310h7bf5fec_16 ran successfully. |
94c6b6c
to
36a084f
Compare
Array API standard conformance tests for dpctl=0.14.3dev3=py310h7bf5fec_16 ran successfully. |
caf503d
to
b6597ff
Compare
Array API standard conformance tests for dpctl=0.14.4=py310h7bf5fec_8 ran successfully. |
b6597ff
to
dac0a26
Compare
dac0a26
to
739ea9e
Compare
Array API standard conformance tests for dpctl=0.14.5dev1=py310h7bf5fec_11 ran successfully. |
Lots of |
Array API standard conformance tests for dpctl=0.14.6dev0=py310h7bf5fec_12 ran successfully. |
Removed explicit uses of double type constants in direct and inverse trigonometric and hyperbolic functions. Updated tests as needed.
Using `np.float32(X)` call generates X.size single-element device-to-host transfers and is very slow.
UPD: This has all been addressed. |
Array API standard conformance tests for dpctl=0.14.6dev0=py310h7bf5fec_16 ran successfully. |
e26cc3e
to
183817a
Compare
Array API standard conformance tests for dpctl=0.14.6dev0=py310h7bf5fec_32 ran successfully. |
Array API standard conformance tests for dpctl=0.14.6dev0=py310h7bf5fec_34 ran successfully. |
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.
This PR looks good to me. Please wait for other reviewers to provide their feedback though.
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.
This LGTM. Thank you @vtavana and @oleksandr-pavlyk it's great to see these array API conformance numbers jump up
Deleted rendered PR docs from intelpython.github.com/dpctl, latest should be updated shortly. 🤞 |
Array API standard conformance tests for dpctl=0.14.6dev0=py310h7bf5fec_38 ran successfully. |
In this PR. the following elementwise functions are implemented and tested:
dpctl.tensor.acos
,dpctl.tensor.acosh
,dpctl.tensor.asin
,dpctl.tensor.asinh
,dpctl.tensor.atan
,dpctl.tensor.atanh
,dpctl.tensor.cosh
,dpctl.tensor.tanh
,dpctl.tensor.tan
, anddpctl.tensor.tanh
.dpctl.tensor.cos
anddpctl.tensor.sin
are also modified to handle special cases for complex numbers correctly.