batchargmax

package
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: 2 Imported by: ? 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.

Documentation

Overview

Package batchargmax defines the deterministic BatchArgmax source recipe.

This package is outside the compatibility promise of github.com/tmc/lib/nvidia. Its API may change or be removed in patch releases.

Package batchargmax defines the deterministic BatchArgmax source recipe.

Index

Constants

View Source
const PairedLoad = "batch-argmax-paired-load-v1"

PairedLoad is the identifier of the two-lane-stream scan recipe.

Variables

This section is empty.

Functions

func RewritePairedLoad

func RewritePairedLoad(source []byte) ([]byte, error)

RewritePairedLoad replaces the stock scan with two independent accumulators. The second load is guarded at the vocabulary boundary. The per-thread results retain the original value and lowest-index ordering and feed the unchanged block reduction. Callers must separately pin the original source.

Types

This section is empty.

Jump to

Keyboard shortcuts

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