nvidia

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2026 License: Apache-2.0 Imports: 0 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

NVIDIA bindings for Go

This module contains Go bindings for NVIDIA libraries, loaded dynamically with purego, and higher-level packages under x/. The module requires Go 1.27 or later.

Building the bindings does not require NVIDIA headers. Running a native operation requires the library and any devices, drivers or services that the operation uses. Platform availability and build constraints vary by package; cuFile, for example, is a Linux-only package.

Packages

Package Binds Use it for
driver CUDA driver API (cuda.h) contexts, memory, module loading, kernel launch, streams, events, graphs
nvrtc NVRTC compiling CUDA C++ to PTX, cubin, LTOIR, or TileIR at runtime
nvvm NVVM compiling NVVM IR and libdevice to PTX or LTOIR
nvjitlink nvJitLink linking device code to cubin or PTX
nvfatbin nvFatbin packaging alternative CUDA device images into fatbinaries
nvml NVML device enumeration, telemetry, and management
cublas cuBLAS dense BLAS on device buffers
cublaslt cuBLASLt lightweight matmul with algorithm selection
cudnn cuDNN deep-learning primitives
cufft cuFFT fast Fourier transforms
curand cuRAND host APIs for random number generation
cusolver cuSOLVER (dense) factorizations and eigensolvers
cusparse cuSPARSE (generic API) sparse matrices and SpMV/SpMM
cutensor cuTENSOR tensor contractions, reductions, permutations
cudss cuDSS direct sparse linear solves: analysis, factorization, solve
cublasmp cuBLASMp multi-process, multi-GPU dense linear algebra over an NCCL process grid
cusolvermp cuSOLVERMp multi-process, multi-GPU dense factorization and solve
custatevec cuStateVec (cuQuantum) state-vector quantum circuit simulation
cutensornet cuTensorNet (cuQuantum) tensor-network path finding and contraction
cudensitymat cuDensityMat (cuQuantum) many-body operator action and expectation values
cupti CUPTI profiling and activity tracing
sanitizer Compute Sanitizer public API host callbacks, instrumentation patch management, and callback-safe memory operations
dcgm DCGM client library (libdcgm) host-engine telemetry, entity and field discovery, health and diagnostics
nccl NCCL multi-GPU collectives
ncclep NCCL EP (libnccl_ep) expert-parallel dispatch and combine
ncclll NCCL LL buffer (ll_buffer.h) low-latency buffer sizing and poisoning host API (fork extension; gate on Has predicates)
ncclm2n NCCL M2N (libnccl_m2n) mesh-to-mesh tensor resharding
nvshmem NVSHMEM host API (libnvshmem_host) symmetric heap allocation and PE-to-PE communication; host calls only
gdrcopy GDRCopy (libgdrapi) mapping GPU memory into a process's address space
cufile cuFile (GPUDirect Storage) direct file↔GPU I/O; Linux only
nvcomp nvCOMP (batched LZ4) compressing and decompressing independent chunks on device
nvjpeg2k nvJPEG2000 JPEG 2000 decoding on device
nvdec NVDEC (nv-codec-headers) hardware video decoding: parser, decoder, surface mapping
nvenc NVENC (nv-codec-headers) hardware video encoding through the driver's function table
fabricmanager NVIDIA Fabric Manager NVSwitch fabric partitions
nscq NSCQ (libnvidia-nscq) NVSwitch state, temperatures, NVLink port status and counters
x/... — idiomatic layer over the raw bindings; see the generated package inventory

Depending on this module

nvidia requires three sibling modules in this repository (ebpfhost, egraphcore, and gguf) at v0.1.0 and carries no committed relative replace directives in go.mod.

Until the v0.1.0 module tags (ebpfhost/v0.1.0, egraphcore/v0.1.0, gguf/v0.1.0, and nvidia/v0.1.0) are published, build against a local checkout with a Go workspace that includes the consumer and the repository modules:

go work init . ../lib/ebpfhost ../lib/egraphcore ../lib/gguf ../lib/nvidia
go work edit \
  -replace=github.com/tmc/lib/ebpfhost@v0.1.0=../lib/ebpfhost \
  -replace=github.com/tmc/lib/egraphcore@v0.1.0=../lib/egraphcore \
  -replace=github.com/tmc/lib/gguf@v0.1.0=../lib/gguf \
  -replace=github.com/tmc/lib/nvidia@v0.1.0=../lib/nvidia

Or add local replace directives in the consumer's go.mod, adjusting the paths to your layout:

replace (
	github.com/tmc/lib/ebpfhost => ../lib/ebpfhost
	github.com/tmc/lib/egraphcore => ../lib/egraphcore
	github.com/tmc/lib/gguf => ../lib/gguf
	github.com/tmc/lib/nvidia => ../lib/nvidia
)

Loading libraries

The direct binding packages expose Load(path), Loaded(), Path() and Close(). A native call can trigger lazy loading. Use an explicit load when you want to handle availability before starting a workflow. Consult each package's loader documentation for its environment variable, search list and supported platforms. Loading a library does not establish that every symbol, device or operation is available.

Has and generated capability predicates check for individual symbols. Functions with an error result report loading, missing-symbol or native-status errors through that result. Wrappers without an error result can panic when a library or symbol is unavailable. Inspect the function's signature and comment; do not assume every operation follows one error convention.

Close is for controlled teardown. Release native resources first, and do not close a library while other goroutines or callbacks may still use it.

Building and running host tests with CGO_ENABLED=0 succeeds, but native library loading requires CGO_ENABLED=1. The module's inline FFI loader (internal/ffi) vendors purego's syscall trampoline and dlfcn loader without fakecgo, so under CGO_ENABLED=0 its Open, Sym, Close, and RegisterFunc operations return ErrCgoDisabled instead of panicking at package init.

Native resources and errors

The raw bindings closely follow the C APIs. A returned handle usually needs an explicit release operation; Go garbage collection does not release native resources. Buffers, offsets, pointer lifetimes and synchronization remain the caller's responsibility unless a particular helper documents otherwise.

Status-returning APIs translate failures to Go errors. Many packages expose a Result type and named error constants; cuFile instead reports its structured native status and also has byte-count-returning I/O methods. Use the package's actual error types and codes with errors.Is or errors.As as appropriate.

The CUDA driver associates a current context with an OS thread. Raw context workflows must keep related calls on that thread with runtime.LockOSThread. The cuda wrapper provides Device.WithContext for scoped operations.

Examples and validation

Direct binding packages include example_test.go files. Examples requiring NVIDIA libraries or devices illustrate native workflows; those without an Output: directive are compiled but are not executed by go test. They do not establish that the workflow has run successfully on a GPU. Read each example's prerequisites before adapting it.

Examples with an Output: directive are executed and checked by:

go test ./... -run '^Example' -count=1

This command covers packages available on the current platform. It does not exercise Linux-only cuFile on macOS, or opt-in hardware tests behind build tags. Compilation, an unavailable-library return path and a successful native workflow are different checks.

The PTX/SASS trace example demonstrates a larger compile-and-launch workflow. The x package inventory lists higher-level memory, compilation, graph and tracing helpers.

Regeneration

generate.go names every generated package as a go:generate directive; go generate regenerates all of them. The recipe -- which generator runs with which arguments -- lives in nvgen, in the generator repository tmc/libgen (formerly tmc/codegen), because several packages use dedicated survey commands rather than one generator. nvgen -list prints the recipes and nvgen -diff -output . reports what a regeneration would change without writing.

upstream.json records package inputs, and each package's provenance.json records the arguments and input hashes its committed output was actually generated from. Those are the two different questions: what a package is supposed to be generated from, and what it was.

Generated API fixes belong in libgen; editing generated output alone loses the fix on the next run. Preserve historical provenance and record which new outputs were actually regenerated.

Use -allow-api-removal only for an intended, reviewed removal. An unexpected removal can indicate a wrong header pin or generator command.

Native binary SASS decoder tables (x/isa/sass/isa_sm*.gen.go) are omitted from public trees and release module archives, and generated locally on demand via go generate -run gensasstables ./x/isa/sass from an nvdisasm-backed SASSGEN_CACHE; see x/isa/sass/README.md. When absent, sass.Decode returns sass.ErrNoISATables and callers fall back to .sass listings or nvdisasm.

Documentation

Overview

Package nvidia groups Go bindings for NVIDIA libraries in its subpackages.

Import the binding package for the library you need, such as driver or nvml. Higher-level helpers live under x. Native operations require the corresponding runtime libraries and, where applicable, a supported device and driver. Platform availability, resource ownership and error behavior are documented by each binding package.

Compatibility

All binding packages share one module version on the nvidia/v0.1.x line. Each generated package spans a floor and a ceiling NVIDIA release as one Go API: moving the ceiling for an additive CUDA toolkit minor or separately versioned library update stays on a patch release, enforced by apidiff and per-package frozennames.txt. Plain Go names remain bound to their floor C symbols, while newer suffixed C versions are added as explicit V2/V3 symbols with Has predicates. Breaking API changes or floor removals wait for a new minor release (v0.2.0 before v1). Generation inputs are recorded in upstream.json and per-release symbol availability is tracked in CUDA-API.md; neither determines which installed runtimes are supported.

Packages under x/ are outside the compatibility promise. Their APIs may change or be removed in patch releases.

Supported runtimes

The supported runtime scope is CUDA 12 and 13 on linux/amd64 and CUDA 13 on linux/arm64. Darwin supports host checks, such as layout and loader tests, and has no CUDA runtime support. Support for a runtime major does not mean every library, operation, GPU or driver combination has been qualified; consult the package documentation and the workload's validation results. A library's ABI major is independent of the CUDA toolkit major.

Directories

Path Synopsis
Package cublas provides low-level Go bindings for cuBLAS (CUDA Basic Linear Algebra Subroutines).
Package cublas provides low-level Go bindings for cuBLAS (CUDA Basic Linear Algebra Subroutines).
Package cublaslt provides low-level Go bindings for cuBLASLt (CUDA Linear Algebra Subroutines Lightweight).
Package cublaslt provides low-level Go bindings for cuBLASLt (CUDA Linear Algebra Subroutines Lightweight).
Package cublasmp provides Go bindings for cuBLASMp, NVIDIA's multi-process, multi-GPU dense linear algebra library, libcublasmp.
Package cublasmp provides Go bindings for cuBLASMp, NVIDIA's multi-process, multi-GPU dense linear algebra library, libcublasmp.
Package cudensitymat provides Go bindings for NVIDIA cuDensityMat, the cuQuantum library for many-body quantum operator action and expectation values on dense quantum states.
Package cudensitymat provides Go bindings for NVIDIA cuDensityMat, the cuQuantum library for many-body quantum operator action and expectation values on dense quantum states.
Package cudnn provides low-level Go bindings for cuDNN (CUDA Deep Neural Network library).
Package cudnn provides low-level Go bindings for cuDNN (CUDA Deep Neural Network library).
Package cudss provides Go bindings for the NVIDIA cuDSS direct sparse solver, libcudss.
Package cudss provides Go bindings for the NVIDIA cuDSS direct sparse solver, libcudss.
Package cufft provides low-level Go bindings for cuFFT (CUDA Fast Fourier Transform).
Package cufft provides low-level Go bindings for cuFFT (CUDA Fast Fourier Transform).
Package cufile provides Linux Go bindings for cuFile (GPUDirect Storage).
Package cufile provides Linux Go bindings for cuFile (GPUDirect Storage).
Package cupti provides low-level Go bindings for CUPTI, the CUDA Profiling Tools Interface.
Package cupti provides low-level Go bindings for CUPTI, the CUDA Profiling Tools Interface.
Package curand provides lazy-loaded bindings for NVIDIA cuRAND.
Package curand provides lazy-loaded bindings for NVIDIA cuRAND.
Package cusolver provides lazy-loaded bindings for the NVIDIA cuSOLVER dense API.
Package cusolver provides lazy-loaded bindings for the NVIDIA cuSOLVER dense API.
Package cusolvermp provides Go bindings for NVIDIA cuSOLVERMp, the distributed dense linear algebra library, libcusolverMp.
Package cusolvermp provides Go bindings for NVIDIA cuSOLVERMp, the distributed dense linear algebra library, libcusolverMp.
Package cusparse provides lazy-loaded bindings for the modern cuSPARSE generic API.
Package cusparse provides lazy-loaded bindings for the modern cuSPARSE generic API.
Package custatevec provides lazy-loaded bindings for NVIDIA cuStateVec, the state-vector simulator shipped with cuQuantum.
Package custatevec provides lazy-loaded bindings for NVIDIA cuStateVec, the state-vector simulator shipped with cuQuantum.
Package cutensor provides lazy-loaded bindings for NVIDIA cuTENSOR.
Package cutensor provides lazy-loaded bindings for NVIDIA cuTENSOR.
Package cutensornet provides lazy-loaded bindings for NVIDIA cuTensorNet, the tensor-network contraction library shipped with cuQuantum.
Package cutensornet provides lazy-loaded bindings for NVIDIA cuTensorNet, the tensor-network contraction library shipped with cuQuantum.
Package dcgm provides Go bindings for the NVIDIA Data Center GPU Manager client library, libdcgm.
Package dcgm provides Go bindings for the NVIDIA Data Center GPU Manager client library, libdcgm.
Package driver provides low-level Go bindings for the NVIDIA CUDA driver API.
Package driver provides low-level Go bindings for the NVIDIA CUDA driver API.
Package fabricmanager provides low-level Go bindings for NVIDIA Fabric Manager.
Package fabricmanager provides low-level Go bindings for NVIDIA Fabric Manager.
Package gdrcopy provides Go bindings for GDRCopy's libgdrapi, NVIDIA's user-space interface to the gdrdrv kernel module for mapping GPU memory into a process's address space.
Package gdrcopy provides Go bindings for GDRCopy's libgdrapi, NVIDIA's user-space interface to the gdrdrv kernel module for mapping GPU memory into a process's address space.
internal
abistub
Package abistub builds C libraries that stand in for a vendor library in native ABI tests of the generated bindings.
Package abistub builds C libraries that stand in for a vendor library in native ABI tests of the generated bindings.
capturefiles
Package capturefiles reads the files a CUDA capture carries beside its profile: the PTX and SASS listings, register pressure, tileiras remarks and the capture status.
Package capturefiles reads the files a CUDA capture carries beside its profile: the PTX and SASS listings, register pressure, tileiras remarks and the capture status.
cmd/advisecheck command
Command advisecheck scores cudaprof advise reports.
Command advisecheck scores cudaprof advise reports.
cmd/advisecorpus command
Command advisecorpus consumes retained trajectory files and an optional exact advice sidecar.
Command advisecorpus consumes retained trajectory files and an optional exact advice sidecar.
cmd/adviseplanted command
Command adviseplanted generates and executes the Lane 87 G2 planted-cause, null-control, invariance, and capture-mode GPU workloads using nvrtcx, cublasltx, cublas, and iket.
Command adviseplanted generates and executes the Lane 87 G2 planted-cause, null-control, invariance, and capture-mode GPU workloads using nvrtcx, cublasltx, cublas, and iket.
cmd/cudachangelog command
Cudachangelog renders the NVIDIA release availability view.
Cudachangelog renders the NVIDIA release availability view.
cmd/cuptilayout command
Cuptilayout measures the struct layouts of one CUPTI header with the C compiler and writes them as a text record.
Cuptilayout measures the struct layouts of one CUPTI header with the C compiler and writes them as a text record.
cmd/dattnbench command
Dattnbench writes the CUDA sources and launch plans for the lane 71 decode attention table: the generated cudalower.DecodeAttention kernel, its parity mutant and timing control, and the hand-written ServeAttention kernels of examples/llama-infer/serve.cu, each behind extern "C" entry points a benchmark loads from a shared library.
Dattnbench writes the CUDA sources and launch plans for the lane 71 decode attention table: the generated cudalower.DecodeAttention kernel, its parity mutant and timing control, and the hand-written ServeAttention kernels of examples/llama-infer/serve.cu, each behind extern "C" entry points a benchmark loads from a shared library.
cmd/genoptions command
cmd/genptxaudit command
Command genptxaudit derives instruction vocabularies and an independent example-opcode oracle from a pinned local copy of NVIDIA's PTX ISA 9.5 HTML.
Command genptxaudit derives instruction vocabularies and an independent example-opcode oracle from a pinned local copy of NVIDIA's PTX ISA 9.5 HTML.
cmd/genptxtables command
Command genptxtables generates the PTX identifier, category, type, and directive tables used by cudaptx from a local mirror of the PTX ISA documentation.
Command genptxtables generates the PTX identifier, category, type, and directive tables used by cudaptx from a local mirror of the PTX ISA documentation.
cmd/gentileops command
Package main generates the Tile IR operation encoding table from NVIDIA's TableGen sources.
Package main generates the Tile IR operation encoding table from NVIDIA's TableGen sources.
cmd/genxidcatalog command
Command gen imports the pinned NVIDIA XID workbook.
Command gen imports the pinned NVIDIA XID workbook.
cmd/hostgate command
Command hostgate runs the host CI gate for the nvidia and examples modules.
Command hostgate runs the host CI gate for the nvidia and examples modules.
cmd/journalstat command
Journalstat decodes a producer journal with the strict wire decoder and reports per-kind counts together with the bootstrap, capability, and finalized payloads.
Journalstat decodes a producer journal with the strict wire decoder and reports per-kind counts together with the bootstrap, capability, and finalized payloads.
cmd/kernelrankcorpus command
Kernelrankcorpus writes the L4 planted-kernel corpus of package kernelrank from the retained captures of the advisecheck G2 campaign.
Kernelrankcorpus writes the L4 planted-kernel corpus of package kernelrank from the retained captures of the advisecheck G2 campaign.
cmd/kernelrankdevice command
Kernelrankdevice measures how far the stock kernel cost models are from one CUDA device, on a small fixed suite of kernel decisions.
Kernelrankdevice measures how far the stock kernel cost models are from one CUDA device, on a small fixed suite of kernel decisions.
cmd/lanes command
Lanes checks the lane graph: which lane needs which, and where each one stands.
Lanes checks the lane graph: which lane needs which, and where each one stands.
cmd/nvmlrecord command
Command nvmlrecord records read-only queries for one device.
Command nvmlrecord records read-only queries for one device.
cmd/provenancecheck command
Provenancecheck verifies the generated provenance records in the nvidia module.
Provenancecheck verifies the generated provenance records in the nvidia module.
cmd/versioncheck command
Versioncheck checks a clean NVIDIA revision against retained API artifacts.
Versioncheck checks a clean NVIDIA revision against retained API artifacts.
cmd/xinventory command
Command xinventory generates the inventory of hand-written NVIDIA packages and checks structural module invariants under -check.
Command xinventory generates the inventory of hand-written NVIDIA packages and checks structural module invariants under -check.
cudaapi
Package cudaapi reads generated NVIDIA API availability records.
Package cudaapi reads generated NVIDIA API availability records.
cudaerr
Package cudaerr holds sentinel capability errors shared between nvidia/x/cuda and lower-level ISA packages that nvidia/x/cuda itself imports.
Package cudaerr holds sentinel capability errors shared between nvidia/x/cuda and lower-level ISA packages that nvidia/x/cuda itself imports.
cudahazard
Package cudahazard models GPU memory access hazards across execution scopes and memory spaces without importing higher-level tile or compiler packages.
Package cudahazard models GPU memory access hazards across execution scopes and memory spaces without importing higher-level tile or compiler packages.
cudainject
Package cudainject contains the source assets used by the injection agent.
Package cudainject contains the source assets used by the injection agent.
cudainject/journal
Package journal stores capture records as an append-only wire-frame journal.
Package journal stores capture records as an append-only wire-frame journal.
cudainject/wire
Package wire defines the bounded, versioned records exchanged by a CUDA capture agent and its controller.
Package wire defines the bounded, versioned records exchanged by a CUDA capture agent and its controller.
cudatool
Package cudatool runs CUDA binary utilities without a shell, and answers what options the installed toolkit's utilities accept.
Package cudatool runs CUDA binary utilities without a shell, and answers what options the installed toolkit's utilities accept.
cuptiowner
Package cuptiowner coordinates cooperating metric collectors by CUDA device.
Package cuptiowner coordinates cooperating metric collectors by CUDA device.
cuptiversion
Package cuptiversion holds the one table of CUPTI versions whose struct layouts the nvidia module admits, and maps a runtime CUPTI version to the admitted version whose layouts a package should use.
Package cuptiversion holds the one table of CUPTI versions whose struct layouts the nvidia module admits, and maps a runtime CUPTI version to the admitted version whose layouts a package should use.
ffi
gotest
Package gotest counts the results in go test -json output so that a skipped test never reads as a passed one.
Package gotest counts the results in go test -json output so that a skipped test never reads as a passed one.
gpulease
Package gpulease checks inherited Linux GPU lease process custody.
Package gpulease checks inherited Linux GPU lease process custody.
launchcheck
Package launchcheck validates static CUDA launch contracts.
Package launchcheck validates static CUDA launch contracts.
libclang
Package libclang is a minimal binding of libclang, clang's C interface, loaded at run time with purego.
Package libclang is a minimal binding of libclang, clang's C interface, loaded at run time with purego.
nativereceipt
Package nativereceipt records file identities observed in a native process's Linux mappings.
Package nativereceipt records file identities observed in a native process's Linux mappings.
nvdisasmoracle
Package nvdisasmoracle runs NVIDIA's nvdisasm disassembler as an independent ground-truth oracle for SASS decoders, micro-assemblers, and static analyses.
Package nvdisasmoracle runs NVIDIA's nvdisasm disassembler as an independent ground-truth oracle for SASS decoders, micro-assemblers, and static analyses.
outputcontract
Package outputcontract defines pure-stdlib recorded output contracts, two-fill write-domain classification, and bounded FP32 comparison policies shared between nvidia/x/cuda/cudatest and nvidia/x/isa/ptx.
Package outputcontract defines pure-stdlib recorded output contracts, two-fill write-domain classification, and bounded FP32 comparison policies shared between nvidia/x/cuda/cudatest and nvidia/x/isa/ptx.
precompile
Package precompile builds device code for cudaprecompile and for cudaprecompiled's run-time fallback, so both compile a set of sources the same way.
Package precompile builds device code for cudaprecompile and for cudaprecompiled's run-time fallback, so both compile a set of sources the same way.
replayartifact
Package replayartifact retains native launch artifacts beside test receipts.
Package replayartifact retains native launch artifacts beside test receipts.
systeminfo
Package systeminfo provides the canonical SystemInfo hardware, library, clock, power, and host contention record shared across cudadiag, cudacapture, cudaflightrecorder, cuptiactivity, cudaprof, and servebench.
Package systeminfo provides the canonical SystemInfo hardware, library, clock, power, and host contention record shared across cudadiag, cudacapture, cudaflightrecorder, cuptiactivity, cudaprof, and servebench.
testdeadline
Package testdeadline bounds a test's subprocess and device waits by the test binary's own deadline instead of a fixed timeout.
Package testdeadline bounds a test's subprocess and device waits by the test binary's own deadline instead of a fixed timeout.
tmemaddr
Package tmemaddr checks that the tensor memory address of every tcgen05.ld and tcgen05.st in CUDA C++ or PTX source is the same in every lane of the warp.
Package tmemaddr checks that the tensor memory address of every tcgen05.ld and tcgen05.st in CUDA C++ or PTX source is the same in every lane of the warp.
Package nccl provides low-level Go bindings for the NVIDIA Collective Communications Library (NCCL).
Package nccl provides low-level Go bindings for the NVIDIA Collective Communications Library (NCCL).
Code generated by gen-nccl-extensions.
Code generated by gen-nccl-extensions.
Code generated by gen-nccl-extensions.
Code generated by gen-nccl-extensions.
Code generated by gen-nccl-extensions.
Code generated by gen-nccl-extensions.
Package nscq binds libnvidia-nscq, the NVIDIA NVSwitch Configuration and Query (NSCQ) library.
Package nscq binds libnvidia-nscq, the NVIDIA NVSwitch Configuration and Query (NSCQ) library.
Package nvcomp provides Go bindings for the batched LZ4 entry points of the NVIDIA nvCOMP library, libnvcomp.
Package nvcomp provides Go bindings for the batched LZ4 entry points of the NVIDIA nvCOMP library, libnvcomp.
Package nvdec provides low-level Go bindings for the NVIDIA video decoder.
Package nvdec provides low-level Go bindings for the NVIDIA video decoder.
Package nvenc provides low-level Go bindings for the NVIDIA video encoder.
Package nvenc provides low-level Go bindings for the NVIDIA video encoder.
Package nvfatbin provides Go bindings for NVIDIA fatbinary packaging.
Package nvfatbin provides Go bindings for NVIDIA fatbinary packaging.
Package nvjitlink provides Go bindings for NVIDIA JIT linking of device code.
Package nvjitlink provides Go bindings for NVIDIA JIT linking of device code.
Package nvjpeg2k provides Go bindings for NVIDIA's nvJPEG2000 decoder, libnvjpeg2k.
Package nvjpeg2k provides Go bindings for NVIDIA's nvJPEG2000 decoder, libnvjpeg2k.
Package nvml provides low-level Go bindings for the NVIDIA Management Library (NVML).
Package nvml provides low-level Go bindings for the NVIDIA Management Library (NVML).
nvmltest
Package nvmltest scripts and records the small NVML query interface used by telemetry consumers.
Package nvmltest scripts and records the small NVML query interface used by telemetry consumers.
Package nvrtc provides low-level Go bindings for NVIDIA Runtime Compilation (NVRTC).
Package nvrtc provides low-level Go bindings for NVIDIA Runtime Compilation (NVRTC).
Package nvshmem binds the host-callable API of the NVSHMEM library, libnvshmem_host.so.3, using purego.
Package nvshmem binds the host-callable API of the NVSHMEM library, libnvshmem_host.so.3, using purego.
Package nvvm provides Go bindings for the NVIDIA NVVM compiler.
Package nvvm provides Go bindings for the NVIDIA NVVM compiler.
Package sanitizer provides low-level Go bindings for the CUDA Compute Sanitizer public API, the callback and patching interface NVIDIA's compute-sanitizer tool is built on.
Package sanitizer provides low-level Go bindings for the CUDA Compute Sanitizer public API, the callback and patching interface NVIDIA's compute-sanitizer tool is built on.
x
compile/artifact
Package artifact provides deterministic manifests, multi-root tar bundling, settle-gated publication, pod-local install coordination, and bounded chunk lease management for compiled GPU caches (such as CUDA graphs, Triton, DeepGEMM, FlashInfer, CuTe DSL, and torch.compile caches).
Package artifact provides deterministic manifests, multi-root tar bundling, settle-gated publication, pod-local install coordination, and bounded chunk lease management for compiled GPU caches (such as CUDA graphs, Triton, DeepGEMM, FlashInfer, CuTe DSL, and torch.compile caches).
compile/batchargmax
Package batchargmax defines the deterministic BatchArgmax source recipe.
Package batchargmax defines the deterministic BatchArgmax source recipe.
compile/budget
Package budget checks CUDA compilation resource budgets (registers, stack frames, spill loads/stores, and shared memory) across target SM architectures and enforces the repository-wide kernel census.
Package budget checks CUDA compilation resource budgets (registers, stack frames, spill loads/stores, and shared memory) across target SM architectures and enforces the repository-wide kernel census.
compile/cudakorrect
Package cudakorrect implements a staged kernel correctness harness and deterministic txtar iteration bundle emitter for CUDA C, PTX, Tile IR, and SASS candidates.
Package cudakorrect implements a staged kernel correctness harness and deterministic txtar iteration bundle emitter for CUDA C, PTX, Tile IR, and SASS candidates.
compile/cudalsp
Package cudalsp implements a pure-Go Language Server Protocol (LSP 3.17) server and multi-language analysis engine for GPU kernel development.
Package cudalsp implements a pure-Go Language Server Protocol (LSP 3.17) server and multi-language analysis engine for GPU kernel development.
compile/fatbin
Package fatbin packs and unpacks CUDA fatbinary containers via libnvfatbin and loads ahead-of-time precompiled fatbinaries with runtime NVRTC fallback.
Package fatbin packs and unpacks CUDA fatbinary containers via libnvfatbin and loads ahead-of-time precompiled fatbinaries with runtime NVRTC fallback.
compile/hotswap
Package cudahotswap checks and replaces CUDA kernels in a retained service.
Package cudahotswap checks and replaces CUDA kernels in a retained service.
compile/hotswap/httpapi
Package httpapi exposes cudahotswap.Service as bounded JSON over HTTP.
Package httpapi exposes cudahotswap.Service as bounded JSON over HTTP.
compile/hotswap/internal/fswatch
Package fswatch watches directory contents, including rename saves.
Package fswatch watches directory contents, including rename saves.
compile/hotswap/stage
Package stage builds and pins CUDA host-glue libraries with the entry ABI int stage(struct stage_ctx *).
Package stage builds and pins CUDA host-glue libraries with the entry ABI int stage(struct stage_ctx *).
compile/kernelhub
Package kernelhub reads GPU kernels published on the Hugging Face kernel hub, so that Go programs can check and launch them.
Package kernelhub reads GPU kernels published on the Hugging Face kernel hub, so that Go programs can check and launch them.
compile/nvjitlink
Package nvjitlink links device PTX, CUBIN, fatbin, and LTO-IR inputs via libnvJitLink.
Package nvjitlink links device PTX, CUBIN, fatbin, and LTO-IR inputs via libnvJitLink.
compile/nvrtc
Package nvrtc compiles CUDA C++ sources via libnvrtc and provides a content-addressed on-disk artifact cache for compiled PTX, CUBIN, and LTO-IR outputs.
Package nvrtc compiles CUDA C++ sources via libnvrtc and provides a content-addressed on-disk artifact cache for compiled PTX, CUBIN, and LTO-IR outputs.
compile/nvvm
Package nvvm lowers NVVM IR modules and compiles them to PTX via libnvvm, including address-space def-use specialization passes.
Package nvvm lowers NVVM IR modules and compiles them to PTX via libnvvm, including address-space def-use specialization passes.
compile/ptxcubin
Package ptxcubin compiles PTX to a CUBIN for one physical target.
Package ptxcubin compiles PTX to a CUBIN for one physical target.
cuda
Package cuda provides Idiomatic Go device, context, stream, event, module, memory, kernel launch, data-type, and capability-sentinel primitives over the NVIDIA CUDA Driver API.
Package cuda provides Idiomatic Go device, context, stream, event, module, memory, kernel launch, data-type, and capability-sentinel primitives over the NVIDIA CUDA Driver API.
cuda/checkpoint
Package checkpoint coordinates NVIDIA CUDA process checkpointing and restoration using the CUDA Driver Process Checkpoint API.
Package checkpoint coordinates NVIDIA CUDA process checkpointing and restoration using the CUDA Driver Process Checkpoint API.
cuda/cublaslt
Package cublaslt provides an owning cuBLASLt matrix multiplication engine.
Package cublaslt provides an owning cuBLASLt matrix multiplication engine.
cuda/cudatest
Package cudatest provides owned CUDA device fixtures, toolchain provenance helpers, liveness controls, event-timed benchmarks, write-domain coverage contracts, PTX memory-model litmus tests, and device struct layout checks.
Package cudatest provides owned CUDA device fixtures, toolchain provenance helpers, liveness controls, event-timed benchmarks, write-domain coverage contracts, PTX memory-model litmus tests, and device struct layout checks.
cuda/graph
Package graph builds, captures, instantiates, and replays CUDA execution graphs, plans SM-partitioned green contexts, and validates cooperative thread and warpgroup execution groups.
Package graph builds, captures, instantiates, and replays CUDA execution graphs, plans SM-partitioned green contexts, and validates cooperative thread and warpgroup execution groups.
cuda/handoff
Package handoff implements graceful binary upgrades for CUDA processes, combining listener file-descriptor inheritance with CUDA Virtual Memory Management (VMM) POSIX file-descriptor slab handoff.
Package handoff implements graceful binary upgrades for CUDA processes, combining listener file-descriptor inheritance with CUDA Virtual Memory Management (VMM) POSIX file-descriptor slab handoff.
cuda/hotreload
Package hotreload provides reusable building blocks for live CUDA kernel hot-reload loops: NVRTC compile input validation, a monotonic generation state machine with parity-gated promotion and rollback tracking, line-level diffing, and a self-contained Server-Sent Events (SSE) live view.
Package hotreload provides reusable building blocks for live CUDA kernel hot-reload loops: NVRTC compile input validation, a monotonic generation state machine with parity-gated promotion and rollback tracking, line-level diffing, and a self-contained Server-Sent Events (SSE) live view.
cuda/kernel
Package cudakernel defines immutable kernel artifact descriptors and parameter ABI schemas.
Package cudakernel defines immutable kernel artifact descriptors and parameter ABI schemas.
cuda/lane
Package lane holds the resources of one execution lane on a CUDA device: a stream, a tracked device memory arena, and the per-lane resources, such as modules and matrix plans, built for that stream.
Package lane holds the resources of one execution lane on a CUDA device: a stream, a tracked device memory arena, and the per-lane resources, such as modules and matrix plans, built for that stream.
cuda/lock
Package lock provides cooperative host-wide GPU lock leasing and host-side device allocation leak tracking.
Package lock provides cooperative host-wide GPU lock leasing and host-side device allocation leak tracking.
cuda/mmap
Package mmap provides read-only memory-mapped host weight files with CUDA host-memory registration, multi-backend bulk file-to-device loading, and chunked hardware/host tensor decompression.
Package mmap provides read-only memory-mapped host weight files with CUDA host-memory registration, multi-backend bulk file-to-device loading, and chunked hardware/host tensor decompression.
cuda/nvtx
Package nvtx provides a pure-Go, zero-cgo implementation of NVIDIA Tools Extension (NVTX v3).
Package nvtx provides a pure-Go, zero-cgo implementation of NVIDIA Tools Extension (NVTX v3).
cuda/vmmarena
Package vmmarena provides a per-allocation-handle CUDA Virtual Memory Management (VMM) bump arena, allocation boundary discovery, and segment-bounded memory region coalescing for GPU weight transfers.
Package vmmarena provides a per-allocation-handle CUDA Virtual Memory Management (VMM) bump arena, allocation boundary discovery, and segment-bounded memory region coalescing for GPU weight transfers.
cuda/weightipc
Package weightipc shares resident GPU model weights across processes using CUDA Virtual Memory Management (VMM) POSIX file descriptors over AF_UNIX sockets (SCM_RIGHTS) or legacy cudaIpcMemHandle handles.
Package weightipc shares resident GPU model weights across processes using CUDA Virtual Memory Management (VMM) POSIX file descriptors over AF_UNIX sockets (SCM_RIGHTS) or legacy cudaIpcMemHandle handles.
fabric/ncclx
Package cudacollective provides rank-ordered collective communication plans.
Package cudacollective provides rank-ordered collective communication plans.
fabric/ncclx/internal/ginprobe
Package ginprobe holds the GIN execution probe of the nccldev native tests: a kernel that moves words between two ranks with ncclGinPut and a signal, and the host code that builds it, launches it on each rank and judges what it reported.
Package ginprobe holds the GIN execution probe of the nccldev native tests: a kernel that moves words between two ranks with ncclGinPut and a signal, and the host code that builds it, launches it on each rank and judges what it reported.
fabric/ncclx/ncclboot
Package ncclboot creates one NCCL communicator rank per process, so a communicator can span processes and hosts.
Package ncclboot creates one NCCL communicator rank per process, so a communicator can span processes and hosts.
fabric/nvl72
Package nvl72 emits multi-GPU NVLink 5 and NVLink 6 symmetric-memory collective kernels, 72-rank Wide Expert Parallelism (Wide-EP) pipelines, O(1) NVSwitch multicast barriers, and 4-tier GB200 NVL72, GB300 NVL72 and Vera Rubin NVL72 rack and pod planners.
Package nvl72 emits multi-GPU NVLink 5 and NVLink 6 symmetric-memory collective kernels, 72-rank Wide Expert Parallelism (Wide-EP) pipelines, O(1) NVSwitch multicast barriers, and 4-tier GB200 NVL72, GB300 NVL72 and Vera Rubin NVL72 rack and pod planners.
fabric/nvlshm
Package nvlshm provides cross-process NVLink shared GPU buffers built on the CUDA virtual memory management (VMM) API, with optional NVSwitch multicast mappings.
Package nvlshm provides cross-process NVLink shared GPU buffers built on the CUDA virtual memory management (VMM) API, with optional NVSwitch multicast mappings.
fabric/nvlshm/tcpboot
Package tcpboot provides a minimal TCP implementation of nvlshm.Bootstrap for single-host multi-process jobs and tests.
Package tcpboot provides a minimal TCP implementation of nvlshm.Bootstrap for single-host multi-process jobs and tests.
fabric/weightdist
Package weightdist implements peer-to-peer model weight discovery, canonical source identity hashing, fail-closed accelerator compatibility, Grove datacenter topology policy, stateless source selection, metadata registry coordination, and per-worker tensor manifest serving.
Package weightdist implements peer-to-peer model weight discovery, canonical source identity hashing, fail-closed accelerator compatibility, Grove datacenter topology policy, stateless source selection, metadata registry coordination, and per-worker tensor manifest serving.
fabric/weightxfer
Package weightxfer coordinates batched one-sided GPU weight transfers over a minimal RMA Engine contract with strict handle-release discipline, post-RDMA device synchronization, region coalescing with rollback retry, and non-latching data-plane health tracking.
Package weightxfer coordinates batched one-sided GPU weight transfers over a minimal RMA Engine contract with strict handle-release discipline, post-RDMA device synchronization, region coalescing with rollback retry, and non-latching data-plane health tracking.
host/bisect
Package bisect can be used by compilers and other programs to serve as a target for the bisect debugging tool.
Package bisect can be used by compilers and other programs to serve as a target for the bisect debugging tool.
host/cubin
Package cubin reads, edits and writes CUDA ELF images (cubins).
Package cubin reads, edits and writes CUDA ELF images (cubins).
host/devloop
Package devloop implements a model-agnostic GPU kernel hot-reload dev-loop engine with layered security controls, compare-and-swap (CAS) generation management, redacted audit receipts, a live SSE event bus, append-only txtar session notebooks, and a canonical kernel slot registry.
Package devloop implements a model-agnostic GPU kernel hot-reload dev-loop engine with layered security controls, compare-and-swap (CAS) generation management, redacted audit receipts, a live SSE event bus, append-only txtar session notebooks, and a canonical kernel slot registry.
host/elf
Package elfinspect reads ELF headers, sections, segments, and symbol tables.
Package elfinspect reads ELF headers, sections, segments, and symbol tables.
host/equiv
Package equiv proves, with an SMT solver, that a candidate GPU kernel computes bit for bit what a reference kernel computes, for every input a launch contract allows.
Package equiv proves, with an SMT solver, that a candidate GPU kernel computes bit for bit what a reference kernel computes, for every input a launch contract allows.
host/eval
Package eval provides numerical parity verdicts, floating-point bit sweeps, blind permutation evaluation gates, multi-gate change admission receipts, and determinism auditing inside parity bisection.
Package eval provides numerical parity verdicts, floating-point bit sweeps, blind permutation evaluation gates, multi-gate change admission receipts, and determinism auditing inside parity bisection.
host/eval/agenttrace
Package agenttrace reads, replays and scores agent workload traces in the replay format of the Evolving Infra benchmarks (the Trie client's schema-v2 traces and schema-v3 tasks, one JSON object per line).
Package agenttrace reads, replays and scores agent workload traces in the replay format of the Evolving Infra benchmarks (the Trie client's schema-v2 traces and schema-v3 tasks, one JSON object per line).
host/grammar
Package cudagrammar constrains language model generation to JSON that conforms to a schema.
Package cudagrammar constrains language model generation to JSON that conforms to a schema.
host/otlp
Package otlp provides hardware-neutral OpenTelemetry trace wire encoding, schema validation, span tracing, claim checking, and collector test sinks.
Package otlp provides hardware-neutral OpenTelemetry trace wire encoding, schema validation, span tracing, claim checking, and collector test sinks.
host/perfetto
Package perfetto implements a streaming wire-format encoder for Perfetto trace files (.pftrace) compatible with the Chrome / Perfetto UI trace viewer.
Package perfetto implements a streaming wire-format encoder for Perfetto trace files (.pftrace) compatible with the Chrome / Perfetto UI trace viewer.
host/receipt
Package receipt defines the vendor-neutral kernelreceipt/v0 wire format, structural and statistical validation rules, gate definition digests, and re-execution verification engine for checked GPU kernels.
Package receipt defines the vendor-neutral kernelreceipt/v0 wire format, structural and statistical validation rules, gate definition digests, and re-execution verification engine for checked GPU kernels.
host/safetensors
Package safetensors reads and writes the Hugging Face safetensors format.
Package safetensors reads and writes the Hugging Face safetensors format.
host/shape
Package cudashape provides checked multi-dimensional tensor shapes, overflow-checked byte size calculation, stride and layout analysis, and bounded symbolic dimension binding with equality and divisibility constraints.
Package cudashape provides checked multi-dimensional tensor shapes, overflow-checked byte size calculation, stride and layout analysis, and bounded symbolic dimension binding with equality and divisibility constraints.
host/shape/rope
Package rope computes rotary position embedding inverse frequencies the way Hugging Face transformers does.
Package rope computes rotary position embedding inverse frequencies the way Hugging Face transformers does.
host/sys
Package sys provides read-only file mapping, CLI flag hygiene checks, keyed text redaction, run identifiers, and deterministic virtual and test clocks.
Package sys provides read-only file mapping, CLI flag hygiene checks, keyed text redaction, run identifiers, and deterministic virtual and test clocks.
host/taskgraph
Package cudataskgraph validates finite task DAGs and tracks epoch-scoped publication and abort state.
Package cudataskgraph validates finite task DAGs and tracks epoch-scoped publication and abort state.
host/timing
Package timing provides paired ABBA timing, trial receipts, statistical estimators, co-run and goodput harnesses, load and judge profiles, and host quietness checks.
Package timing provides paired ABBA timing, trial receipts, statistical estimators, co-run and goodput harnesses, load and judge profiles, and host quietness checks.
host/traysup
Package traysup implements a hardened local process supervisor for GPU development pods.
Package traysup implements a hardened local process supervisor for GPU development pods.
host/txtar
Package txtar implements a pure-stdlib reader, formatter, manifest builder, and versioned in-memory virtual workspace (VFS) for txtar archives.
Package txtar implements a pure-stdlib reader, formatter, manifest builder, and versioned in-memory virtual workspace (VFS) for txtar archives.
host/weighttransfer
Package weighttransfer transfers independently pinned safetensors weights.
Package weighttransfer transfers independently pinned safetensors weights.
ir/contract
Package contract defines declarative kernel launch contracts, host-side preflight validation, and digest-bound proof certificates for Tile IR kernels.
Package contract defines declarative kernel launch contracts, host-side preflight validation, and digest-bound proof certificates for Tile IR kernels.
ir/egraph
Package egraph implements a lightweight, pure-Go E-Graph (equivalence graph) and equality saturation engine for term rewriting, program optimization, kernel fusion, declarative CUDA Tile C++ generation, and sub-byte quantized inference.
Package egraph implements a lightweight, pure-Go E-Graph (equivalence graph) and equality saturation engine for term rewriting, program optimization, kernel fusion, declarative CUDA Tile C++ generation, and sub-byte quantized inference.
ir/graph
Package graph provides the core tensor computation DAG IR, fluent tensor construction, einsum rank canonicalization, speed-of-light bounds, device function emission, and model architecture fact extraction.
Package graph provides the core tensor computation DAG IR, fluent tensor construction, einsum rank canonicalization, speed-of-light bounds, device function emission, and model architecture fact extraction.
ir/lean
Package lean provides a fail-closed 1-to-1 Tile IR to Lean 4 exporter and formal obligation verifier.
Package lean provides a fail-closed 1-to-1 Tile IR to Lean 4 exporter and formal obligation verifier.
ir/lower
Package lower provides tensor-term lowering, graph fusion, ONNX/StableHLO/TileIR frontends, tensor/expert-parallel megakernel builders, and KernelSpec candidate discovery.
Package lower provides tensor-term lowering, graph fusion, ONNX/StableHLO/TileIR frontends, tensor/expert-parallel megakernel builders, and KernelSpec candidate discovery.
ir/plan
Package plan provides executable DAG plans, multi-backend agreement checking, cross-layer serving step plans, AOT multi-arch bundles, and multi-bucket decode orchestration.
Package plan provides executable DAG plans, multi-backend agreement checking, cross-layer serving step plans, AOT multi-arch bundles, and multi-bucket decode orchestration.
ir/rank
Package rank provides kernel ranking, roofline cost forms, beam/MCTS schedule search, hardware-in-the-loop autotuning, PGO qualification, and precision Pareto search.
Package rank provides kernel ranking, roofline cost forms, beam/MCTS schedule search, hardware-in-the-loop autotuning, PGO qualification, and precision Pareto search.
isa/devicetable
Package cudadevicetable holds GPU device facts that were read from a real device, separated from the ones that were not.
Package cudadevicetable holds GPU device facts that were read from a real device, separated from the ones that were not.
isa/devicetable/instrument
Package instrument says, for each hardware value the planners in this module read, what measures it on the device it describes.
Package instrument says, for each hardware value the planners in this module read, what measures it on the device it describes.
isa/lineinfo
Package lineinfo attributes PTX and SASS instructions back to host and CUDA source lines, wraps cuobjdump/nvdisasm extraction, and inspects compiled kernel resource provenance.
Package lineinfo attributes PTX and SASS instructions back to host and CUDA source lines, wraps cuobjdump/nvdisasm extraction, and inspects compiled kernel resource provenance.
isa/ptx
Package ptx parses and audits NVIDIA PTX modules, parses ptxas -v resource diagnostics, and verifies PTX barrier/fence schedules and recorded-run campaign verdicts.
Package ptx parses and audits NVIDIA PTX modules, parses ptxas -v resource diagnostics, and verifies PTX barrier/fence schedules and recorded-run campaign verdicts.
isa/ptx/ptxaddr
Package ptxaddr reports local PTX address hazards for review.
Package ptxaddr reports local PTX address hazards for review.
isa/ptx/ptxast
Package ptxast is a typed syntax tree for PTX, with a parser and a printer.
Package ptxast is a typed syntax tree for PTX, with a parser and a printer.
isa/ptx/ptxbuild
Package ptxbuild builds PTX modules in Go.
Package ptxbuild builds PTX modules in Go.
isa/ptx/ptxequiv
Package ptxequiv gives PTX kernels a bit-precise semantics for package equiv: Kernel.Effect translates a kernel into the guarded loads and stores of one symbolic thread, and Kernel.Run executes one thread on concrete values to replay counterexamples.
Package ptxequiv gives PTX kernels a bit-precise semantics for package equiv: Kernel.Effect translates a kernel into the guarded loads and stores of one symbolic thread, and Kernel.Run executes one thread on concrete values to replay counterexamples.
isa/ptx/ptxpass
Package ptxpass analyses and rewrites PTX syntax trees from package ptxast.
Package ptxpass analyses and rewrites PTX syntax trees from package ptxast.
isa/ptxsync
Package ptxsync checks conservative subsets of PTX synchronization.
Package ptxsync checks conservative subsets of PTX synchronization.
isa/sass
Package sass parses and analyzes NVIDIA SASS disassemblies, models SM occupancy and memory-hierarchy residency, extracts kernel parameter memory effects, wait bounds, and cubin contracts, audits PTX/LLVM-to-SASS lowering, and checks trace-free bounded SASS equivalence.
Package sass parses and analyzes NVIDIA SASS disassemblies, models SM occupancy and memory-hierarchy residency, extracts kernel parameter memory effects, wait bounds, and cubin contracts, audits PTX/LLVM-to-SASS lowering, and checks trace-free bounded SASS equivalence.
isa/sass/internal/gensasstables command
Command gensasstables compiles extracted SASS instruction tables from a local sassgen cache directory into compact numeric Go tables for package sass.
Command gensasstables compiles extracted SASS instruction tables from a local sassgen cache directory into compact numeric Go tables for package sass.
isa/tileir
Package tileir builds, parses, validates, assembles, and disassembles CUDA Tile IR modules and bytecode.
Package tileir builds, parses, validates, assembles, and disassembles CUDA Tile IR modules and bytecode.
isa/tileir/refmath
Package refmath has the float64 mathematical functions that the Tile IR interpreter and CPU implementations of Tile IR operations compute with as the reference for what a device computes.
Package refmath has the float64 mathematical functions that the Tile IR interpreter and CPU implementations of Tile IR operations compute with as the reference for what a device computes.
isa/tileir/tilebuild
Package tilebuild constructs CUDA Tile IR operations for github.com/tmc/lib/nvidia/x/tileir modules.
Package tilebuild constructs CUDA Tile IR operations for github.com/tmc/lib/nvidia/x/tileir modules.
isa/tileir/tileprintf
Package tileprintf formats what the Tile IR operation print_tko prints: a C printf format whose expressions each print a tile of integers or floats.
Package tileprintf formats what the Tile IR operation print_tko prints: a C printf format whose expressions each print a tile of integers or floats.
nn/attn
Package attn provides scaled dot-product, paged GQA, Multi-head Latent Attention (MLA), split-K decode, Gated DeltaNet, Kimi Delta Attention (KDA), tree attention, manifold-constrained hyper-connections (mHC), attention residuals, context-parallel 3D pipelines, and fused transformer layers.
Package attn provides scaled dot-product, paged GQA, Multi-head Latent Attention (MLA), split-K decode, Gated DeltaNet, Kimi Delta Attention (KDA), tree attention, manifold-constrained hyper-connections (mHC), attention residuals, context-parallel 3D pipelines, and fused transformer layers.
nn/attnres
Package attnres implements attention over residual sources on the host and CUDA.
Package attnres implements attention over residual sources on the host and CUDA.
nn/batch
Package batch provides continuous token-level batch scheduling, RadixAttention prefix KV trees, and speculative batch verification cycles.
Package batch provides continuous token-level batch scheduling, RadixAttention prefix KV trees, and speculative batch verification cycles.
nn/ckpt
Package ckpt provides zero-copy SafeTensors loading, typed checkpoint tensor binding, NVIDIA ModelOpt quantized weight metadata decoding, multi-rank loading strategy chains with mutation-aware rollback, speculative draft publication gating, role-scoped shard selection, and cold-load quantization scale validation.
Package ckpt provides zero-copy SafeTensors loading, typed checkpoint tensor binding, NVIDIA ModelOpt quantized weight metadata decoding, multi-rank loading strategy chains with mutation-aware rollback, speculative draft publication gating, role-scoped shard selection, and cold-load quantization scale validation.
nn/hostemu
Package hostemu runs CUDA kernel source on the host CPU, for testing kernels where no GPU is available.
Package hostemu runs CUDA kernel source on the host CPU, for testing kernels where no GPU is available.
nn/kv
SPDX-License-Identifier: Apache-2.0
SPDX-License-Identifier: Apache-2.0
nn/kv/tier
Package tier implements a three-tier asynchronous KV-cache offloader across GPU VRAM, pinned CPU RAM, and NVMe SSD storage without stalling the decode loop.
Package tier implements a three-tier asynchronous KV-cache offloader across GPU VRAM, pinned CPU RAM, and NVMe SSD storage without stalling the decode loop.
nn/kvquant
Package kvquant implements a pure-Go CPU reference for NVFP4 and MXFP4 KV-cache quantization and single-query decode attention.
Package kvquant implements a pure-Go CPU reference for NVFP4 and MXFP4 KV-cache quantization and single-query decode attention.
nn/logprob
Package logprob records per-token log-probabilities of scored sequences and compares records from different engines or paths.
Package logprob records per-token log-probabilities of scored sequences and compares records from different engines or paths.
nn/moe
Package moe provides Mixture-of-Experts routing, token permutation, grouped GEMM epilogues, NVFP4 expert weight streaming, Engram memory lookup, and Two-Batch Overlap (TBO) expert-parallel kernels.
Package moe provides Mixture-of-Experts routing, token permutation, grouped GEMM epilogues, NVFP4 expert weight streaming, Engram memory lookup, and Two-Batch Overlap (TBO) expert-parallel kernels.
nn/moe/ep
Package ep implements a single-host and loopback Mixture-of-Experts (MoE) expert-parallel router with rank-deduped all-to-all dispatch and combine, capacity-factor overflow policies, and live Expert Parallelism Load Balancer (EPLB) weight shuffling.
Package ep implements a single-host and loopback Mixture-of-Experts (MoE) expert-parallel router with rank-deduped all-to-all dispatch and combine, capacity-factor overflow policies, and live Expert Parallelism Load Balancer (EPLB) weight shuffling.
nn/moe/mxfp8gemm
Package mxfp8gemm multiplies MXFP8 matrices group by group, as a mixture-of-experts layer does, on the tensor cores of sm_100a and sm_103a: each group of rows of x, the tokens routed to one expert, by that expert's weights.
Package mxfp8gemm multiplies MXFP8 matrices group by group, as a mixture-of-experts layer does, on the tensor cores of sm_100a and sm_103a: each group of rows of x, the tokens routed to one expert, by that expert's weights.
nn/quant
Package quant provides block-scaled quantization formats, weight prepacking, and fused normalization/activation quantization CUDA kernels (Q4_0, Q8_0, Q8_1, OCP FP8 E4M3FN, MXFP8, MXFP4, NVFP4 E2M1, UE8M0, Q2_K, IQ2_XXS, U2).
Package quant provides block-scaled quantization formats, weight prepacking, and fused normalization/activation quantization CUDA kernels (Q4_0, Q8_0, Q8_1, OCP FP8 E4M3FN, MXFP8, MXFP4, NVFP4 E2M1, UE8M0, Q2_K, IQ2_XXS, U2).
nn/quant/calibrate
Package calibrate implements post-training NVFP4 and INT4 weight and activation calibration, NVIDIA ModelOpt safetensors export, exact float64 teacher-forced perplexity and KL-divergence evaluation, and VRAM/latency reporting.
Package calibrate implements post-training NVFP4 and INT4 weight and activation calibration, NVIDIA ModelOpt safetensors export, exact float64 teacher-forced perplexity and KL-divergence evaluation, and VRAM/latency reporting.
nn/ref
Package ref provides CPU float64 reference oracles, graph interpreters, differential trace accumulators, and numerical parity verifiers for neural network and tensor kernels under nvidia/x/nn and nvidia/x/ir.
Package ref provides CPU float64 reference oracles, graph interpreters, differential trace accumulators, and numerical parity verifiers for neural network and tensor kernels under nvidia/x/nn and nvidia/x/ir.
nn/sample
Package sample provides GPU token-sampling kernels including argmax, temperature scaling, top-k, top-p (nucleus), min-p, and Philox Gumbel-max.
Package sample provides GPU token-sampling kernels including argmax, temperature scaling, top-k, top-p (nucleus), min-p, and Philox Gumbel-max.
nn/serve
Package serve provides OpenAI-compatible HTTP inference serving and SGLang gRPC worker endpoints.
Package serve provides OpenAI-compatible HTTP inference serving and SGLang gRPC worker endpoints.
nn/serve/cert
Package cert records what has been checked about a serving image and checks the record against what is loaded.
Package cert records what has been checked about a serving image and checks the record against what is loaded.
nn/serve/disagg
Package disagg implements single-host disaggregated prefill and decode serving over loopback framed KV transfers.
Package disagg implements single-host disaggregated prefill and decode serving over loopback framed KV transfers.
nn/shortconv
Package shortconv implements static causal depthwise convolution over BF16 input rows on the host.
Package shortconv implements static causal depthwise convolution over BF16 input rows on the host.
nn/spec
Package spec provides speculative decoding verification, draft-tree mask construction, multi-token prediction (MTP) paged attention, EAGLE-3/MCTS reasoning trees, early-exit confidence probes, and adaptive flight buckets.
Package spec provides speculative decoding verification, draft-tree mask construction, multi-token prediction (MTP) paged attention, EAGLE-3/MCTS reasoning trees, early-exit confidence probes, and adaptive flight buckets.
nn/spec/dfly
Package dfly reads DFly2 drafter checkpoints and checks their compatibility with a paired DeepSeek V4.1 target before device execution.
Package dfly reads DFly2 drafter checkpoints and checks their compatibility with a paired DeepSeek V4.1 target before device execution.
nn/spec/paralleldraft
Package paralleldraft implements the model-agnostic parts of parallel ("diffusion") speculative drafters such as DFlash, DSpark and DNeo.
Package paralleldraft implements the model-agnostic parts of parallel ("diffusion") speculative drafters such as DFlash, DSpark and DNeo.
nn/train
Package train provides reverse-mode autograd, optimizer state update kernels (AdamW, Muon/Newton-Schulz, RL policy updates), block/multi-GPU reductions, sparse-teacher distillation, DualPipe bidirectional schedules, activation rematerialization, and float64 finite-difference gradient checking.
Package train provides reverse-mode autograd, optimizer state update kernels (AdamW, Muon/Newton-Schulz, RL policy updates), block/multi-GPU reductions, sparse-teacher distillation, DualPipe bidirectional schedules, activation rematerialization, and float64 finite-difference gradient checking.
obs/advisefeedback
Package advisefeedback implements canonical, model-agnostic, scorer-attributed profiling advise findings, pre-edit pending outcome tracking, explicit feedback with verifiable evidence gates, Wilson score lower confidence bound ranking with a Bayesian exploration prior, human review queues, and cross-model transfer matrices.
Package advisefeedback implements canonical, model-agnostic, scorer-attributed profiling advise findings, pre-edit pending outcome tracking, explicit feedback with verifiable evidence gates, Wilson score lower confidence bound ranking with a Bayesian exploration prior, human review queues, and cross-model transfer matrices.
obs/bpf
Package bpf provides host eBPF policy budgets, device-side BPF launch records, and host-GPU trace collection.
Package bpf provides host eBPF policy budgets, device-side BPF launch records, and host-GPU trace collection.
obs/cudacallgraph
Package cudacallgraph links host launches, GPU source, and recorded artifacts.
Package cudacallgraph links host launches, GPU source, and recorded artifacts.
obs/cudacallgraph/launchgo
Package launchgo resolves typed Go CUDA launch sites to their available kernel identities.
Package launchgo resolves typed Go CUDA launch sites to their available kernel identities.
obs/cudapmpred
Package cudapmpred provides SASS pm_pred per-instruction event counting and PTX %pm0..%pm7 baseline counter auditing for NVIDIA sm_121a (GB10).
Package cudapmpred provides SASS pm_pred per-instruction event counting and PTX %pm0..%pm7 baseline counter auditing for NVIDIA sm_121a (GB10).
obs/cudapmreg
Package cudapmreg reads the SM performance-monitor special registers SR_PM0..SR_PM7 (and their high halves) on sm_121a, with and without a profiling session, and retargets the reads to the SR_SNAP_PM snapshot bank.
Package cudapmreg reads the SM performance-monitor special registers SR_PM0..SR_PM7 (and their high halves) on sm_121a, with and without a profiling session, and retargets the reads to the SR_SNAP_PM snapshot bank.
obs/cudaprof
Package cudaprof captures, correlates, analyzes, and exports CUDA profiles, traces, OTLP spans, and profile history.
Package cudaprof captures, correlates, analyzes, and exports CUDA profiles, traces, OTLP spans, and profile history.
obs/cudaprof/advise
Package advise evaluates CUDA profiles, hardware counters, and timelines against diagnostic performance rules.
Package advise evaluates CUDA profiles, hardware counters, and timelines against diagnostic performance rules.
obs/cudaprof/advise/advisecheck
Package advisecheck validates advise rule citations, emission sites, and corpus scorecards.
Package advisecheck validates advise rule citations, emission sites, and corpus scorecards.
obs/cudaprof/internal/obsjournaltest
Package journaltest writes synthetic capture journals and captures for tests, so journal readers are exercised without hardware or a real capture.
Package journaltest writes synthetic capture journals and captures for tests, so journal readers are exercised without hardware or a real capture.
obs/cudaprof/iteration
Package iteration segments CUDA timeline streams into deterministic training and serving step iterations.
Package iteration segments CUDA timeline streams into deterministic training and serving step iterations.
obs/cudaprof/limiter
Package limiter says why a kernel launch is slow and what to change.
Package limiter says why a kernel launch is slow and what to change.
obs/cudaprof/overview
Package overview summarizes and compares GPU kernel pprof profiles against regex op-classification rules and renders self-contained, zero-CDN HTML overview reports with inline SVG breakdowns, per-op delta bars, staging memcpy callouts, top kernel tables, and SHA-256 provenance footers.
Package overview summarizes and compares GPU kernel pprof profiles against regex op-classification rules and renders self-contained, zero-CDN HTML overview reports with inline SVG breakdowns, per-op delta bars, staging memcpy callouts, top kernel tables, and SHA-256 provenance footers.
obs/cudaprof/stallmap
Package stallmap attributes a kernel's PC sampling stalls to its SASS instructions and source lines.
Package stallmap attributes a kernel's PC sampling stalls to its SASS instructions and source lines.
obs/cudaprof/timeline
Package timeline reconstructs ordered host and device execution timelines from CUDA capture journals.
Package timeline reconstructs ordered host and device execution timelines from CUDA capture journals.
obs/cudaprof/tracecontract
Package tracecontract defines portable trace binding and artifact contracts shared across CUDA profiling and telemetry pipelines.
Package tracecontract defines portable trace binding and artifact contracts shared across CUDA profiling and telemetry pipelines.
obs/cudas2r
Package cudas2r provides a telemetry oracle for NVIDIA SASS special registers (SR 0..255) accessible via S2R, CS2R, and S2UR instructions on sm_121a (GB10).
Package cudas2r provides a telemetry oracle for NVIDIA SASS special registers (SR 0..255) accessible via S2R, CS2R, and S2UR instructions on sm_121a (GB10).
obs/cudatimer
Package cudatimer measures what the SM timer registers mean: the tick of %globaltimer, whether a split LO/HI read can tear, the SM clock rate against %globaltimer, and whether %globaltimer agrees across SMs.
Package cudatimer measures what the SM timer registers mean: the tick of %globaltimer, whether a split LO/HI read can tear, the SM clock rate against %globaltimer, and whether %globaltimer agrees across SMs.
obs/cuptix
Package cuptix provides CUPTI activity, callback, checkpoint, PC sampling, PM sampling, range profiling, SASS counter, and benchmark collection on NVIDIA GPUs.
Package cuptix provides CUPTI activity, callback, checkpoint, PC sampling, PM sampling, range profiling, SASS counter, and benchmark collection on NVIDIA GPUs.
obs/cuptix/benchfmt
Package benchfmt reads and formats GPU benchmark records in Go benchmark and JSON interchange layouts.
Package benchfmt reads and formats GPU benchmark records in Go benchmark and JSON interchange layouts.
obs/cuptix/dutycycle
Package dutycycle computes active and idle GPU duty-cycle intervals from PM sampling streams.
Package dutycycle computes active and idle GPU duty-cycle intervals from PM sampling streams.
obs/diag
Package diag provides GPU roofline models, kernel census, evidence records, microbenchmark probes, reproducer reduction, sanitizer runners, quarantined candidate launches, and workload diagnostics.
Package diag provides GPU roofline models, kernel census, evidence records, microbenchmark probes, reproducer reduction, sanitizer runners, quarantined candidate launches, and workload diagnostics.
obs/diag/bwprobe
Package bwprobe measures device memory and cache bandwidth ceilings, block shapes, stream/owned mixes, and read/write mixes using calibrated GPU microbenchmarks.
Package bwprobe measures device memory and cache bandwidth ceilings, block shapes, stream/owned mixes, and read/write mixes using calibrated GPU microbenchmarks.
obs/diag/dieprobe
Package dieprobe measures GPU locality-domain topology, access latency, bandwidth, allocation cost, and compute binding.
Package dieprobe measures GPU locality-domain topology, access latency, bandwidth, allocation cost, and compute binding.
obs/diag/errbound
Package errbound checks kernel outputs against error bounds derived from a reference computation graph at a declared precision.
Package errbound checks kernel outputs against error bounds derived from a reference computation graph at a declared precision.
obs/diag/errbound/errboundcuda
Package errboundcuda runs CUDA kernels as errbound.Kernel values, on a GPU through NVRTC or on the host CPU through cudahostemu, so that errbound.Check can certify them.
Package errboundcuda runs CUDA kernels as errbound.Kernel values, on a GPU through NVRTC or on the host CPU through cudahostemu, so that errbound.Check can certify them.
obs/diag/errbound/plant
Package plant holds a corpus of CUDA kernels that cheat kernel correctness checks, with honest controls, for testing checkers such as github.com/tmc/lib/nvidia/x/obs/diag/errbound.
Package plant holds a corpus of CUDA kernels that cheat kernel correctness checks, with honest controls, for testing checkers such as github.com/tmc/lib/nvidia/x/obs/diag/errbound.
obs/diag/gemmrate
Package gemmrate measures the dense tensor-core GEMM rate a device achieves on one shape.
Package gemmrate measures the dense tensor-core GEMM rate a device achieves on one shape.
obs/diag/hotcold
Package hotcold measures what one SASS instruction costs by timing a kernel against a copy of itself with that instruction replaced by a NOP.
Package hotcold measures what one SASS instruction costs by timing a kernel against a copy of itself with that instruction replaced by a NOP.
obs/diag/icacheprobe
Package icacheprobe measures GPU instruction-cache capacity and miss boundaries across loop footprints.
Package icacheprobe measures GPU instruction-cache capacity and miss boundaries across loop footprints.
obs/diag/kernelcheck
Package kernelcheck checks compiled NVIDIA CUBIN artifacts against their static ELF/SASS launch contracts, IEEE-754 float32 numerical parity, and CUDA-event interleaved paired timing, producing and verifying kernelreceipt/v0 receipts.
Package kernelcheck checks compiled NVIDIA CUBIN artifacts against their static ELF/SASS launch contracts, IEEE-754 float32 numerical parity, and CUDA-event interleaved paired timing, producing and verifying kernelreceipt/v0 receipts.
obs/diag/kernelcheck/launchplan
Package launchplan captures a GPU program's launches as a declarative plan and replays the plan without the program.
Package launchplan captures a GPU program's launches as a declarative plan and replays the plan without the program.
obs/diag/kernelcheck/launchplan/internal/lptool command
Lptool builds, compares, replays and mutates launch-plan bundles.
Lptool builds, compares, replays and mutates launch-plan bundles.
obs/diag/launchprobe
Package launchprobe measures CUDA kernel launch latency and queue overhead.
Package launchprobe measures CUDA kernel launch latency and queue overhead.
obs/diag/mioprobe
Package mioprobe measures whether reading a special register costs more when many warps on one SM read special registers at once.
Package mioprobe measures whether reading a special register costs more when many warps on one SM read special registers at once.
obs/diag/obsevidence
Package obsevidence holds portable measurement evidence records and claim verdicts re-exported by x/obs/diag and x/obs/diag/obsmodel.
Package obsevidence holds portable measurement evidence records and claim verdicts re-exported by x/obs/diag and x/obs/diag/obsmodel.
obs/diag/obsmodel
Package obsmodel provides hardware-neutral GPU roofline ceiling models and kernel execution census analysis.
Package obsmodel provides hardware-neutral GPU roofline ceiling models and kernel execution census analysis.
obs/diag/peerprobe
Package peerprobe times the hop latency between two GPUs through peer-mapped memory.
Package peerprobe times the hop latency between two GPUs through peer-mapped memory.
obs/diag/prefetchprobe
Package prefetchprobe measures L2 and global memory prefetch latency and SM rank behavior.
Package prefetchprobe measures L2 and global memory prefetch latency and SM rank behavior.
obs/diag/sfuprobe
Package sfuprobe measures the throughput of the special function unit (MUFU) against FFMA on one GPU, in operations per SM per clock.
Package sfuprobe measures the throughput of the special function unit (MUFU) against FFMA on one GPU, in operations per SM per clock.
obs/diag/smtopology
Package smtopology probes streaming multiprocessor cluster and cache topology on NVIDIA GPUs.
Package smtopology probes streaming multiprocessor cluster and cache topology on NVIDIA GPUs.
obs/diag/streamread
Package streamread measures sustained device global-memory read bandwidth across configurable streaming access patterns.
Package streamread measures sustained device global-memory read bandwidth across configurable streaming access patterns.
obs/diag/syncprobe
Package syncprobe measures device, stream, and event synchronization latency.
Package syncprobe measures device, stream, and event synchronization latency.
obs/iket
Package iket provides intra-kernel execution tracing (IKET), device ring buffers, CUDA phase markers, and GPU flight-recorder bundles.
Package iket provides intra-kernel execution tracing (IKET), device ring buffers, CUDA phase markers, and GPU flight-recorder bundles.
obs/iket/ikettrace
Package obsiket implements the core in-kernel event trace and phase analysis layer.
Package obsiket implements the core in-kernel event trace and phase analysis layer.
obs/iket/ring
Package ring decodes device-side in-kernel %globaltimer event ring buffers.
Package ring decodes device-side in-kernel %globaltimer event ring buffers.
obs/internal/obsbpfpolicy
Package obsbpfpolicy holds pure-Go eBPF policy and budget definitions re-exported by x/obs/bpf.
Package obsbpfpolicy holds pure-Go eBPF policy and budget definitions re-exported by x/obs/bpf.
obs/internal/obsevidencebind
Package obsevidencebind binds kernel artifacts and cache keys to evidence identities for x/obs/cudaprof and x/obs/telemetry.
Package obsevidencebind binds kernel artifacts and cache keys to evidence identities for x/obs/cudaprof and x/obs/telemetry.
obs/internal/obsotlp
Package obsotlp holds OTLP span schema and trace encoders re-exported by x/obs/cudaprof.
Package obsotlp holds OTLP span schema and trace encoders re-exported by x/obs/cudaprof.
obs/internal/obsprobe
Package obsprobe holds binary probe event decoders re-exported by x/obs/diag.
Package obsprobe holds binary probe event decoders re-exported by x/obs/diag.
obs/internal/obsprofcore
Package obsprofcore holds core pprof, capture bundle, stack journal, and Do correlation primitives re-exported by x/obs/cudaprof.
Package obsprofcore holds core pprof, capture bundle, stack journal, and Do correlation primitives re-exported by x/obs/cudaprof.
obs/internal/obsworkload
Package obsworkload holds host-device workload correlation and activity join primitives re-exported by x/obs/diag.
Package obsworkload holds host-device workload correlation and activity join primitives re-exported by x/obs/diag.
obs/racedet
Package racedet reports shared memory data races in CUDA kernels in one form, whichever engine found them.
Package racedet reports shared memory data races in CUDA kernels in one form, whichever engine found them.
obs/sanpatch
Package sanpatch provides an in-process CUDA Compute Sanitizer device-patching oracle built on the Compute Sanitizer public API.
Package sanpatch provides an in-process CUDA Compute Sanitizer device-patching oracle built on the Compute Sanitizer public API.
obs/straggler
Package straggler detects slow and intermittent GPU stragglers across single and multi-node clusters without PyTorch or cgo.
Package straggler detects slow and intermittent GPU stragglers across single and multi-node clusters without PyTorch or cgo.
obs/telemetry
Package telemetry provides GPU fleet telemetry, NVML/DCGM/nvidia-smi readers, XID error catalogs and log parsers, and Nsight Compute/Systems importers.
Package telemetry provides GPU fleet telemetry, NVML/DCGM/nvidia-smi readers, XID error catalogs and log parsers, and Nsight Compute/Systems importers.
obs/tracedb
Package tracedb defines a zero-dependency interface, schema, and read-only SQL policy for storing and querying GPU traces and telemetry-review sessions in ClickHouse-compatible engines such as chDB.
Package tracedb defines a zero-dependency interface, schema, and read-only SQL policy for storing and querying GPU traces and telemetry-review sessions in ClickHouse-compatible engines such as chDB.
obs/tracedb/chdbengine
Package chdbengine provides an isolated, zero-cgo purego adapter for libchdb (in-process ClickHouse) with pinned SHA-256 library verification, dedicated restricted ClickHouse RBAC user isolation (`tracedb_ro`), ClickHouse C++ AST classification, and a hard CUDA process isolation guard.
Package chdbengine provides an isolated, zero-cgo purego adapter for libchdb (in-process ClickHouse) with pinned SHA-256 library verification, dedicated restricted ClickHouse RBAC user isolation (`tracedb_ro`), ClickHouse C++ AST classification, and a hard CUDA process isolation guard.
obs/tracedb/localengine
Package localengine provides a strictly fail-closed, zero-cgo, pure-Go fallback tracedb.Engine backed by JSONL files (or in-memory storage).
Package localengine provides a strictly fail-closed, zero-cgo, pure-Go fallback tracedb.Engine backed by JSONL files (or in-memory storage).
tile/layout
Package layout provides checked physical tile layouts, CuTe layout algebra, Tensor Memory Accelerator (TMA) transfer and multicast planning, Blackwell Tensor Memory (TMEM) allocation protocols, thread-block-cluster distributed shared-memory emitters, per-block shared-memory planning, cooperative block primitives, and static/dynamic mbarrier pipeline verification.
Package layout provides checked physical tile layouts, CuTe layout algebra, Tensor Memory Accelerator (TMA) transfer and multicast planning, Blackwell Tensor Memory (TMEM) allocation protocols, thread-block-cluster distributed shared-memory emitters, per-block shared-memory planning, cooperative block primitives, and static/dynamic mbarrier pipeline verification.
tile/mega
Package mega schedules persistent CUDA megakernels, device-driven step loops, programmatic dependent launches (PDL), register redistribution protocols, bounded device waits, and step-descriptor replay logs.
Package mega schedules persistent CUDA megakernels, device-driven step loops, programmatic dependent launches (PDL), register redistribution protocols, bounded device waits, and step-descriptor replay logs.
tile/prefill
Package prefill lowers block-FP8 prefill projections to Tile IR.
Package prefill lowers block-FP8 prefill projections to Tile IR.
tile/tcgen05
Package tcgen05 implements Blackwell (sm_100a, sm_103a, sm_100f, sm_103f) and Vera Rubin (sm_107a, sm_107f) Tensor Memory (TMEM) Fifth- and Sixth-Generation Tensor Core (tcgen05 / PTX ISA 9.4), FlashAttention-4 paged and absorbed Multi-head Latent Attention (MLA), 2:4 structured sparsity and spcompress, and Cluster Launch Control (CLC) kernel emitters, hardware descriptors, and GB200/GB300/VR200 residency planners.
Package tcgen05 implements Blackwell (sm_100a, sm_103a, sm_100f, sm_103f) and Vera Rubin (sm_107a, sm_107f) Tensor Memory (TMEM) Fifth- and Sixth-Generation Tensor Core (tcgen05 / PTX ISA 9.4), FlashAttention-4 paged and absorbed Multi-head Latent Attention (MLA), 2:4 structured sparsity and spcompress, and Cluster Launch Control (CLC) kernel emitters, hardware descriptors, and GB200/GB300/VR200 residency planners.
tile/tcgen05/mmaarith
Package mmaarith models NVIDIA Blackwell tcgen05 dot and accumulator arithmetic with integers.
Package mmaarith models NVIDIA Blackwell tcgen05 dot and accumulator arithmetic with integers.
tile/tcgen05/mmaarith/cmd/sm103probe command
Command sm103probe is a standalone GB300 (sm_103a) / B200 (sm_100a) hardware validation & differential fuzzer CLI for tcgen05 MMA reference arithmetic.
Command sm103probe is a standalone GB300 (sm_103a) / B200 (sm_100a) hardware validation & differential fuzzer CLI for tcgen05 MMA reference arithmetic.

Jump to

Keyboard shortcuts

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