cuda_compute_capability

package
v0.4.21 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2026 License: Apache-2.0 Imports: 5 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.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	CudaComputeCapabilityProto_FeatureExtension_name = map[int32]string{
		0: "UNSPECIFIED",
		1: "NONE",
		2: "ACCELERATED_FEATURES",
		3: "FAMILY_COMPATIBLE_FEATURES",
	}
	CudaComputeCapabilityProto_FeatureExtension_value = map[string]int32{
		"UNSPECIFIED":                0,
		"NONE":                       1,
		"ACCELERATED_FEATURES":       2,
		"FAMILY_COMPATIBLE_FEATURES": 3,
	}
)

Enum value maps for CudaComputeCapabilityProto_FeatureExtension.

View Source
var File_xla_stream_executor_cuda_cuda_compute_capability_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CudaComputeCapabilityProto

type CudaComputeCapabilityProto struct {
	Major            int32                                       `protobuf:"varint,1,opt,name=major,proto3" json:"major,omitempty"`
	Minor            int32                                       `protobuf:"varint,2,opt,name=minor,proto3" json:"minor,omitempty"`
	FeatureExtension CudaComputeCapabilityProto_FeatureExtension `` /* 175-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CudaComputeCapabilityProto) Descriptor deprecated

func (*CudaComputeCapabilityProto) Descriptor() ([]byte, []int)

Deprecated: Use CudaComputeCapabilityProto.ProtoReflect.Descriptor instead.

func (*CudaComputeCapabilityProto) GetFeatureExtension

func (*CudaComputeCapabilityProto) GetMajor

func (x *CudaComputeCapabilityProto) GetMajor() int32

func (*CudaComputeCapabilityProto) GetMinor

func (x *CudaComputeCapabilityProto) GetMinor() int32

func (*CudaComputeCapabilityProto) ProtoMessage

func (*CudaComputeCapabilityProto) ProtoMessage()

func (*CudaComputeCapabilityProto) ProtoReflect

func (*CudaComputeCapabilityProto) Reset

func (x *CudaComputeCapabilityProto) Reset()

func (*CudaComputeCapabilityProto) String

func (x *CudaComputeCapabilityProto) String() string

type CudaComputeCapabilityProto_FeatureExtension

type CudaComputeCapabilityProto_FeatureExtension int32
const (
	// UNSPECIFIED is only needed because when this field is not set
	// it defaults to 0, but on Hopper and Blackwell we want to detect that
	// and default to ACCELERATED_FEATURES, not to NONE.
	CudaComputeCapabilityProto_UNSPECIFIED                CudaComputeCapabilityProto_FeatureExtension = 0
	CudaComputeCapabilityProto_NONE                       CudaComputeCapabilityProto_FeatureExtension = 1
	CudaComputeCapabilityProto_ACCELERATED_FEATURES       CudaComputeCapabilityProto_FeatureExtension = 2
	CudaComputeCapabilityProto_FAMILY_COMPATIBLE_FEATURES CudaComputeCapabilityProto_FeatureExtension = 3
)

func (CudaComputeCapabilityProto_FeatureExtension) Descriptor

func (CudaComputeCapabilityProto_FeatureExtension) Enum

func (CudaComputeCapabilityProto_FeatureExtension) EnumDescriptor deprecated

func (CudaComputeCapabilityProto_FeatureExtension) EnumDescriptor() ([]byte, []int)

Deprecated: Use CudaComputeCapabilityProto_FeatureExtension.Descriptor instead.

func (CudaComputeCapabilityProto_FeatureExtension) Number

func (CudaComputeCapabilityProto_FeatureExtension) String

func (CudaComputeCapabilityProto_FeatureExtension) Type

Jump to

Keyboard shortcuts

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