The initial support for the dpctl.SyclQueue type added in 7fe8d9b does not allow using a dpctl.SyclQueue object inside a dpjit function. The basic support only allows passing a queue in and returning it from a dpjit function.
To properly support dpctl.SyclQueue type, the following tasks (and possibly more) needs to be completed:
- Add a numba struct type representation for
dpctl.SyclQueue.
- Define a struct data model for the numba-dpex type representing a Python
dpctl.SyclQueue.
- Add unboxing that can store the
DPCTLSyclQueueRef pointer from a dpctl.SyclQueue object into a Numba native struct.
- Add boxing function to create a
dpctl.SyclQueue object from a Numba native struct.
- Add a
make_queue function for internal usage, similar to the make_array function.