test_helpers

package
v3.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	REFERENCE_DEVICE = runtime.CreateDevice("CPU", 0)
	MAIN_DEVICE      = runtime.CreateDevice("CUDA", 0)
)

Functions

func ActivateMainDevice

func ActivateMainDevice()

func ActivateReferenceDevice

func ActivateReferenceDevice()

func GenerateBytesArray

func GenerateBytesArray(size int) ([]byte, []uint32)

func GenerateLimbOne

func GenerateLimbOne(size int) []uint32

func GenerateRandomLimb

func GenerateRandomLimb(size int) []uint32

Types

This section is empty.

Jump to

Keyboard shortcuts

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