Closed
Description
Numba-dppy includes changes to Numba (IntelPython/numba#96) to support dispatching of functions based on dpctl.device_context
.
After discussions with Numba upstream developers, they have proposed adding a new way inside Numba to support our changes: numba/numba#6770. Quoting Siu Kwan Lam:
This patch will allow one to insert code to switch the options for
@jit
. I'm also considering an alternative at numba/numba#6770 (comment), which is more flexible by allowing a function to be injected to transform the original dispatcher to something else.
- Evaluate Siu's PR and build it locally on our systems
- Provide review to Siu
- Adapt the changes in Patch for with context numba#96 to use the new design.
- Finalize changes and merge into numba-dppy (Use Numba dispatcher stack for implementing device context #278)