mirror of
https://github.com/siemens-mobile-hacks/llvm-c166.git
synced 2026-11-26 06:28:13 +00:00
Second patch in the context series. Outstanding-queue bookkeeping (queues destroyed while still busy) moves from ol_device_impl_t to ol_context_impl_t, keyed by device. This keeps backend queue resources from being reused across native contexts and lets olDestroyContext drain everything it owns. On the Level Zero side, LevelZeroPluginContextTy owns a ze_context and an L0QueueCacheTy pooling idle queues per device bound to that ze_context. L0ContextTy holds a DefaultUserCtx used by the libomptarget path when no user context is set on the async info. Queue creation, command-list creation and initAsyncInfoImpl all thread the plugin context through so queues are bound to the right ze_context. Assisted-by: Claude --------- Co-authored-by: blazej-smorawski <blazej.smorawski@intel.com> |
||
|---|---|---|
| .. | ||
| L0CmdListManager.h | ||
| L0Compat.h | ||
| L0Context.h | ||
| L0Defs.h | ||
| L0Device.h | ||
| L0Event.h | ||
| L0Interop.h | ||
| L0Kernel.h | ||
| L0Memory.h | ||
| L0Options.h | ||
| L0Plugin.h | ||
| L0Program.h | ||
| L0Queue.h | ||
| L0Trace.h | ||