-
Notifications
You must be signed in to change notification settings - Fork 21
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
Preparation to reuse future common dpctl f/w in functions from vm
extension
#1868
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
View rendered docs @ https://intelpython.github.io/dpnp/index.html |
…solve link issues
antonwolfy
force-pushed
the
use-local-copy-of-dpctl-ufunc-header
branch
from
June 11, 2024 13:19
12e6214
to
49ffe40
Compare
vtavana
reviewed
Jun 12, 2024
vtavana
reviewed
Jun 12, 2024
vtavana
reviewed
Jun 12, 2024
vtavana
reviewed
Jun 12, 2024
vtavana
reviewed
Jun 12, 2024
vtavana
reviewed
Jun 12, 2024
vtavana
approved these changes
Jun 12, 2024
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.
Thank you, @antonwolfy!
github-actions bot
added a commit
that referenced
this pull request
Jun 12, 2024
…xtension (#1868) * Preparation to reuse common dpctl f/w for VM functions * PoC to decouple abs implementation to separate source file * Reuse typedef for function poiter from dpctl.tensor * Define populating vectors by a separate macro * Move implementation of utility functions from headers to source to resolve link issues * Separated implementation of acos function * Separated implementation of acosh function * Use function to simplify strides from dpctl tensor headers * PoC to decouple add implementation to separate source file * Separated implementation of asin function * Separated implementation of asinh function * Separated implementation of atan, atan2, atanh functions * Resolve issue with calling MKL function for undefined types * Separated implementation of cbrt, ceil, conj, cos and cosh functions * Separated implementation of div, exp, exp2, expm1, floor and hypot functions * Separated implementation of ln, log1p, log2 and log10 functions * Separated implementation of mul, pow, rint, sin and sinh functions * Separated implementation of sqr, sqrt, sub, tan, tanh and trunc functions * Removed unused header with types matrix * Remove unused functions * Use passing by reference in unary and binary funcs d553611
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The PR makes implementation changes in
vm
extension to further reuse of dpctl tensor f/w aroundpy_unary_ufunc
andpy_binary_ufunc
functions.Where the new added files under
dpnp/backend/extensions/elementwise_functions
folder should be replaced by proper dpctl tensor headers.The same f/w can be later reused while adding implementation of elementwise functions which are not available in dpctl.
Also the PR splits each function to separate dedicated source and header files instead of single big source file.