-
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
Adds a new literal type to store IntEnum as Literal types. #1227
Conversation
287b17f
to
72177b8
Compare
72177b8
to
ddcea7b
Compare
@ZzEeKkAa the PR is good to go as-is. There is an additional unit test case I want to add that will verify that an |
57a66d5
to
6e5ccd7
Compare
May be we can add this test case here and mark it as xfail? Don't want you to overload inline fix with unrelated code. |
9ffb10e
to
6bfb015
Compare
6bfb015
to
9a941af
Compare
- Adds a new IntEnumLiteral type with corresponding data model into the DpexExpKernelTargetContext. The type is used to pass in or define an IntEnum flag as an Integer literal inside a kernel function.
bd28ec1
to
7d894a5
Compare
- To get the experimental device_func decorator to be usable standalone the decorator is now available via the numba_dpex.experimental module. - The DpexExpKernelTarget allows dynamic_globals to make it possible to call device_func from kernel.
c823e04
to
ec3e962
Compare
The test case I wanted to add was to make sure that |
e85a04f
to
ec3e962
Compare
ec3e962
to
b1ac8d6
Compare
Adds a new literal type to store IntEnum as Literal types. a92e9b3
Have you provided a meaningful PR description?
IntEnumLiteral
type with corresponding data model into theDpexExpKernelTargetContext
.The type is used to pass in or define an
IntEnum
flag as annumba.types.IntegerLiteral
inside a kernel function.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?