Help us shape the future of Go! Take the 2026 Go Developer Survey

parcagpu

package
v0.50.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 21, 2026 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

Package parcagpu reads GPU events from the eBPF profiler's cupti_events ringbuf, marries them with symbolized CUDA stack traces from the profiler's interpreter/gpu package, and reports the completed traces directly via a TraceReporter. CUDA stack traces from the profiler are diverted into the GPU fixer via a Wrap'd reporter that the tracer is configured with as its TraceReporter.

Every event in the ringbuf begins with a u32 event_type discriminator at offset 0; the reader loop dispatches by tag to handlers for kernel timing, cubin-loaded notifications, PC samples, stall-reason maps, and BPF errors.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Wrap added in v0.49.0

Wrap returns a TraceReporter that intercepts CUDA-origin traces, runs them through the GPU fixer, and forwards the resulting completed traces (zero or more per input) to inner. Non-CUDA traces are forwarded to inner unchanged. Pair with Start to drain the cupti_events ringbuf for kernel-timing, cubin-loaded, PC-sample, and stall-reason events.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL