cuda

package
v0.0.0-...-e0141d8 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2017 License: BSD-3-Clause Imports: 3 Imported by: 1

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 *Device, err error)

type MemoryInfo

type MemoryInfo struct {
	ECC       *bool
	Global    *uint
	Shared    *uint
	Constant  *uint
	L2Cache   *uint
	Bandwidth *uint
}

Jump to

Keyboard shortcuts

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