Replies: 2 comments 1 reply
-
Please, note that Numba does not allow change |
Beta Was this translation helpful? Give feedback.
-
@samaid The device_context is deprecated and will be removed. In 0.20 we released a new decorator |
Beta Was this translation helpful? Give feedback.
-
I suggest to change import numba behavior to enable numba_dppy pipeline if import dpctl and/or import numba_dppy is present.
This is how we enabled SDC pipeline. If the following is present in Python script
import pandas
then
import numba
triggers SDC compilation pipeline.
We can do the same for Numba-DPPY.
If
import dpctl
Or
import numba_dppy
is present then
import numba
Should trigger Numba-DPPY compilation pipeline.
This is the only reasonable way that I see @njit to respect dpctl device/queue management.
Beta Was this translation helpful? Give feedback.
All reactions