cuda

package
v1.0.0-beta.2 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2016 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CanAccessPeer

func CanAccessPeer(dev1, dev2 *Device) (bool, error)

func GetDriverVersion

func GetDriverVersion() (string, error)

Types

type Device

type Device struct {
	Family string
	Arch   string
	Cores  uint
	Memory MemoryInfo
	// contains filtered or unexported fields
}

func NewDevice

func NewDevice(busID string) (*Device, error)

type MemoryInfo

type MemoryInfo struct {
	ECC       bool
	Global    uint
	Shared    uint // includes L1 cache
	Constant  uint
	L2Cache   uint
	Bandwidth uint
}

Jump to

Keyboard shortcuts

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