mirror of
https://github.com/wolfpld/tracy.git
synced 2026-10-16 13:55:27 +00:00
Also track cudaGraphLaunch runtime API for graph correlation
The repro uses cudaGraphLaunch (runtime API) not cuGraphLaunch (driver API). Add cudaGraphLaunch_v10000 and its _ptsz variant to cbidRuntimeTrackers so that graphs launched via the runtime API also get their CPU call site captured for GPU zone correlation. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -786,6 +786,10 @@ namespace tracy
|
||||
{ CUPTI_RUNTIME_TRACE_CBID_cudaEventQuery_v3020, NON_STREAM_FUNC() },
|
||||
{ CUPTI_RUNTIME_TRACE_CBID_cudaStreamWaitEvent_v3020, NON_STREAM_FUNC() },
|
||||
{ CUPTI_RUNTIME_TRACE_CBID_cudaDeviceSynchronize_v3020, NON_STREAM_FUNC() },
|
||||
// Graph launch: tracked so we can correlate GPU activities back to
|
||||
// the cudaGraphLaunch call site via CUPTI_ACTIVITY_KIND_GRAPH_TRACE
|
||||
{ CUPTI_RUNTIME_TRACE_CBID_cudaGraphLaunch_v10000, GET_STREAM_FUNC(cudaGraphLaunch_v10000_params, stream) },
|
||||
{ CUPTI_RUNTIME_TRACE_CBID_cudaGraphLaunch_ptsz_v10000, GET_STREAM_FUNC(cudaGraphLaunch_v10000_params, stream) },
|
||||
};
|
||||
#undef NON_STREAM_FUNC
|
||||
#undef GET_STREAM_FUNC
|
||||
|
||||
Reference in New Issue
Block a user