mirror of
https://github.com/siemens-mobile-hacks/llvm-c166.git
synced 2026-11-25 21:45:57 +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> |
||
|---|---|---|
| .. | ||
| dynamic_cuda | ||
| src | ||
| CMakeLists.txt | ||