cuda

package
v0.0.0-...-2fe1034 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// data
	InitRandFunc      = initRandFunc
	InitRandRoundFunc = initRandRoundFunc
	FinishRandFunc    = finishRandFunc
	CommonKepler      = commonKepler
	CommonUrandGen    = commonUrandGen
	CommonFrand       = commonFrand
	CommonRound       = commonRound
	CommonFp16toFp32  = commonFp16toFp32
	CommonMaxAbs      = commonMaxAbs
	EwTypes           = ewTypes
	EwStringsRound    = ewStringsRound
	// functions
	Format = format
)

Functions

func GetBnBpropKernel

func GetBnBpropKernel(dtype base.Dtype, threads int, computeCapability [2]int) (string, string)

func GetBnFpropKernel

func GetBnFpropKernel(dtype base.Dtype, threads int, computeCapability [2]int) (string, string)

func GetConvKernel

func GetConvKernel(
	dtype base.Dtype,
	filterSize int,
	bsum bool,
	operation string,
	filterBoundsCheck bool,
	debug bool) (string, string)

func MapStringToFunc

func MapStringToFunc(
	funcname string,
	dtype base.Dtype,
	computeCapability [2]int) (string, string)

Helper function that converts string function names to function calls

Types

This section is empty.

Jump to

Keyboard shortcuts

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