mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #2209] [CLOSED] CUDA: keep CPU expert servicing active during instrumented graph launches #3927
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#3927
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/2209
Author: @CC-David-CC
Created: 10/13/2026
Status: ❌ Closed
Base:
main← Head:fix/cpu-serviced-graph-launch📝 Commits (1)
5d2f39bCUDA: service CPU doorbells while instrumented graph launches block📊 Changes
5 files changed (+203 additions, -0 deletions)
View changed files
📝
CMakeLists.txt(+7 -0)📝
docs/DETAILS.md(+17 -0)➕
include/strata/core/host_graph_launch.hpp(+64 -0)📝
src/core/verify.cpp(+33 -0)➕
tests/core/host_graph_launch_test.cu(+82 -0)📄 Description
Compute Sanitizer can block
cudaGraphLaunchwhile the verifier graph waits for CPU expert doorbells supplied by the calling thread. This is the launch/service cycle diagnosed in #1383 and #1341; #1383 added a warning.Add opt-in
STRATA_VERIFY_ASYNC_LAUNCH=1: a separate host thread launches the CUDA graph while the caller serves its CPU requests. Join and propagate the real launch error before returning a frontier; release mapped GPU waits on an early service failure.Before/after diagnostic on RTX PRO 6000 Blackwell 96 GB, Qwen3.8 Flash Next Q8_0 / FP16 KV:
Current-main validation (
a0116b27, RTX 4090, Linux, CUDA 13.3):--report-api-errors explicit; default extended reporting also logged internal cuBLAS fatbinary-loading diagnostics.Minimal change: launch helper,
Verifier::runintegration, CUDA regression/CMake registration and usage documentation. The option defaults off. Scope is the CUDA single-request verifier; direct batch/pipelined entry points retain their scheduling. HIP active verifier source matches upstream; SYCL source is unchanged. G1 certification runs separately from this branch.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.