-
Notifications
You must be signed in to change notification settings - Fork 40
Comparing changes
Open a pull request
base repository: CHIP-SPV/chipStar
base: main
head repository: CHIP-SPV/chipStar
compare: syncQueues
- 9 commits
- 11 files changed
- 1 contributor
Commits on Dec 9, 2025
-
Refactor queue synchronization to use in-order command lists and mark…
…er events Replace LastEvent tracking with marker-based queue synchronization: - Remove LastEvent_ member and updateLastEvent() from Queue class - Add addDependenciesQueueSync() template that creates marker events in other queues for implicit synchronization between blocking/default streams - Make query() pure virtual, backends implement using native sync APIs Level Zero changes: - Use ZE_COMMAND_QUEUE_FLAG_IN_ORDER for command queues - Implement query() with zeCommandListHostSynchronize zero-timeout check - Move event maintenance from EventMonitor to on-demand in getEventFromPool() - Add createEventDedicated() for callback events (workaround for PVC driver issue with event reuse between immediate and regular command lists) - Get dependencies before locking CommandListMtx to avoid deadlock - Reduce event pool size from 1000 to 10 OpenCL changes: - Track IsEmptyQueue_ to handle query() for never-used queues - Implement addDependenciesQueueSync() with cl_event markers - Rework callback mechanism to use marker enqueued from callback thread instead of user events (workaround for Intel driver bug) Other: - Add checkEvents() virtual method to Context for event processing - Fix Device destructor to avoid holding multiple locks simultaneously - Remove L0CollectEventsTimeout env var (no longer needed) - TestBufferDevAddr now conditional on OpenCL backend
Configuration menu - View commit details
-
Copy full SHA for 587b91a - Browse repository at this point
Copy the full SHA 587b91aView commit details
Commits on Dec 10, 2025
-
Configuration menu - View commit details
-
Copy full SHA for df1d8e0 - Browse repository at this point
Copy the full SHA df1d8e0View commit details
Commits on Dec 11, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 592b95b - Browse repository at this point
Copy the full SHA 592b95bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 95c90c2 - Browse repository at this point
Copy the full SHA 95c90c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 44f3c5f - Browse repository at this point
Copy the full SHA 44f3c5fView commit details -
Remove unused createEventDedicated function
Callbacks now use shared event pool via createEventShared, so the dedicated event creation function is no longer needed.
Configuration menu - View commit details
-
Copy full SHA for c9d9aa0 - Browse repository at this point
Copy the full SHA c9d9aa0View commit details
Commits on Dec 14, 2025
-
Add clFlush to ensure marker event submission for cross-queue synchro…
…nization This change flushes the other queue before using the marker event as a dependency, addressing synchronization issues on certain OpenCL drivers (e.g., Arm Mali). This ensures that the marker event is properly submitted and can be utilized across different queues.
Configuration menu - View commit details
-
Copy full SHA for 239ef4b - Browse repository at this point
Copy the full SHA 239ef4bView commit details -
Add clFlush to ensure callback execution on ARM Mali drivers
This update introduces a call to clFlush in the addCallback method to guarantee that callbacks are triggered correctly on drivers that require explicit flushing, such as ARM Mali. This change enhances the reliability of event callback execution in the OpenCL backend.
Configuration menu - View commit details
-
Copy full SHA for 5c8c8ce - Browse repository at this point
Copy the full SHA 5c8c8ceView commit details
Commits on Dec 15, 2025
-
Fix callback failures by tracking GpuReady and using dedicated events
Restore createEventDedicated() and use dedicated events for callbacks to avoid Intel driver bug. Track GpuReady event so event monitor can properly check completion status. Remove unused dedicated callback command list code.
Configuration menu - View commit details
-
Copy full SHA for 860665e - Browse repository at this point
Copy the full SHA 860665eView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff main...syncQueues