You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This function caches queues by (context, device) key.
The cache is stored in contextvars.ContextVar variable, learning
our lessons from issue gh-11.
get_device_cached_queue(dev : dpctl.SyclDevice) -> dpctl.SyclQueue
get_device_cached_queue(
(ctx: dpctl.SyclContext, dev : dpctl.SyclDevice)
) -> dpctl.SyclQueue
Function retrieves the queue from cache, or adds the new queue instance
there if previously absent.
0 commit comments