Documentation
¶
Overview ¶
Package launchgo resolves typed Go CUDA launch sites to their available kernel identities.
This package is outside the compatibility promise of github.com/tmc/lib/nvidia. Its API may change or be removed in patch releases.
Package launchgo resolves typed Go CUDA launch sites to their available kernel identities. A symbol alone never identifies an artifact.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Form ¶
type Form string
Form identifies the CUDA launch API at a site.
const ( DriverKernel Form = "driver.Function.LaunchKernel" DriverKernelEx Form = "driver.Function.LaunchKernelEx" KernelEx Form = "cuda.Kernel.LaunchEx" KernelRaw Form = "cuda.Kernel.LaunchRaw" Kernel Form = "cuda.Kernel.Launch" Launcher Form = "cuda.Launcher.Launch" GraphLauncher Form = "graph.Graph.AddLauncher" GraphLaunch Form = "graph.Graph.AddLaunch" )
type Resolver ¶
type Resolver struct {
// contains filtered or unexported fields
}
Resolver indexes type-checked declarations from a Go package.
func NewResolver ¶
NewResolver indexes declarations for resolving launches in one package.