Skip to content

Moved implementation of kernels out to dedicated header files. #925

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

Merged
merged 4 commits into from
Oct 12, 2022

Conversation

oleksandr-pavlyk
Copy link
Contributor

@oleksandr-pavlyk oleksandr-pavlyk commented Oct 8, 2022

This PR moves out implementations of implementation kernels into separate header files.

This PR is the first of the series of smaller PRs separated from #923.

  • Have you provided a meaningful PR description?
  • Have you tested your changes locally for CPU and GPU devices?
  • Have you made sure that new changes do not introduce compiler warnings?

@oleksandr-pavlyk oleksandr-pavlyk changed the base branch from master to cleanup/tensor October 8, 2022 03:18
@oleksandr-pavlyk
Copy link
Contributor Author

This PR is the first step to be merged to cleanup/tensor branch which will incorporate all the changes from #923, and will then be merged to master.

@github-actions
Copy link

github-actions bot commented Oct 8, 2022

@github-actions
Copy link

github-actions bot commented Oct 8, 2022

Array API standard conformance tests failed to run for dpctl=0.14.0dev0=py310h8c27c75_146.

@github-actions
Copy link

github-actions bot commented Oct 8, 2022

Array API standard conformance tests failed to run for dpctl=0.14.0dev0=py310h8c27c75_147.

@github-actions
Copy link

github-actions bot commented Oct 8, 2022

Array API standard conformance tests failed to run for dpctl=0.14.0dev0=py310h8c27c75_148.

@diptorupd
Copy link
Contributor

@oleksandr-pavlyk A general comment is regarding the documentation of the code. As these kernels can potentially be used outside of dpctl, we definitely need docstrings and API docs generated.

@oleksandr-pavlyk
Copy link
Contributor Author

Yes, I will add it, but it would be best to do it in a separate PR to the target branch. I want to check in other pending changes which I have restructured into separate commits.

@github-actions
Copy link

Array API standard conformance tests for dpctl=0.14.0dev0=py310h8c27c75_167 ran successfully.
Passed: 33
Failed: 801
Skipped: 3138

This is to avoid multiple definitions compilation error when using
multiple translation units.
@github-actions
Copy link

Array API standard conformance tests for dpctl=0.14.0dev0=py310h8c27c75_169 ran successfully.
Passed: 33
Failed: 801
Skipped: 3138

@github-actions
Copy link

Array API standard conformance tests for dpctl=0.14.0dev0=py310h8c27c75_170 ran successfully.
Passed: 33
Failed: 801
Skipped: 3138

@oleksandr-pavlyk
Copy link
Contributor Author

@diptorupd I have pushed changes adding doxygen docstrings for exported templated *_impl functions in added header files.

@oleksandr-pavlyk oleksandr-pavlyk merged commit db68b36 into cleanup/tensor Oct 12, 2022
@github-actions
Copy link

Deleted rendered PR docs from intelpython.github.com/dpctl, latest should be updated shortly. 🤞

@oleksandr-pavlyk oleksandr-pavlyk deleted the cleanup-tensor-py branch October 12, 2022 14:53
@oleksandr-pavlyk oleksandr-pavlyk mentioned this pull request Oct 17, 2022
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants