Documentation
¶
Overview ¶
Package cudaapi reads generated NVIDIA API availability records.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckNarrowing ¶
CheckNarrowing rejects changes that withdraw documented availability.
func CompareVersion ¶
CompareVersion compares dotted numeric release names. Unknown releases are errors.
Types ¶
type File ¶
func ReadProvisional ¶
ReadProvisional reads generator availability data before final Go API extraction. It must not be used as the canonical CUDA changelog input.
func (*File) CompareRelease ¶
CompareRelease compares exact release labels within this file's version scheme. Git revisions use captured source order, never lexical or invented semver order.
func (*File) OptionSince ¶
OptionSince returns a known introduction release for an option. At-floor options return the floor; incomplete history and absent options return an error.
func (*File) OptionSinceFor ¶
OptionSinceFor looks up an exact option/value spelling for a Go target. Empty target accepts only matching records with unambiguous availability.
type Metadata ¶
type Metadata struct {
Schema int `json:"schema"`
Package string `json:"package"`
Scheme string `json:"scheme"`
Product string `json:"product"`
Floor string `json:"floor"`
Ceiling string `json:"ceiling"`
Coverage string `json:"coverage"`
RequiredReleases []string `json:"required_releases"`
Reason string `json:"reason,omitempty"`
Ancestry []Ancestry `json:"ancestry,omitempty"`
}
type Release ¶
type Release struct {
Release string `json:"release"`
Profile string `json:"profile"`
DriverBranch string `json:"driver_branch,omitempty"`
DriverSource string `json:"driver_source,omitempty"`
ComponentVersion string `json:"component_version"`
ArchiveSHA256 string `json:"archive_sha256,omitempty"`
Source *Source `json:"source,omitempty"`
SourceStatus string `json:"source_status,omitempty"`
Inputs []Input `json:"inputs"`
}