-
Notifications
You must be signed in to change notification settings - Fork 33
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
Feature/move experimental decorators to stable #1400
Feature/move experimental decorators to stable #1400
Conversation
10d3081
to
6deac11
Compare
6deac11
to
737eebf
Compare
@ZzEeKkAa The PR in one shot migrates user-facing features ( I have also updated all tests, examples, and API docs. Sorry for the huge diff, but will like you to review it once before I merge. I have kept the commits separate from each other so you can go commit be commit if that helps. |
Documentation preview: show. |
345c5b2
to
6ff53ea
Compare
6ff53ea
to
d0ad17e
Compare
@@ -137,4 +138,11 @@ def parse_sem_version(version_string: str) -> Tuple[int, int, int]: | |||
__version__ = get_versions()["version"] | |||
del get_versions | |||
|
|||
__all__ = types.__all__ + ["Range", "NdRange", "call_kernel"] | |||
__all__ = types.__all__ + [ | |||
"call_kernel", |
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.
"call_kernel", | |
"call_kernel", | |
"call_kernel_async", |
c1b9071
to
fb5642c
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.
LGMT!
Documentation preview removed. |
…ecorators_to_stable Feature/move experimental decorators to stable b186528
…erimental_decorators_to_stable Feature/move experimental decorators to stable b186528
Migrates the
kernel
anddevice_func
decorators fromexperimental
tocore
.Steps:
Improve docstrings [Done]
Copy the two decorators into
core.decorators
and replace/remove the existingkernel
andfunc
decorators. We are copying so that all tests still work and we do not do massive changes in one commit.Update all tests to use decorators from top-level
numba_dpex
module instead ofexperimental
.Remove
experimental.decorators
.Have you added a test, reproducer or referred to an issue with a reproducer?
Have you tested your changes locally for CPU and GPU devices?
Have you made sure that new changes do not introduce compiler warnings?
If this PR is a work in progress, are you filing the PR as a draft?
Fixes #1071
Fixes #1395
Fixes #319