cuda

package
v1.13.1 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(opts ...Options) lookup.Locator

New creates a new CUDA library locator.

Types

type Options

type Options func(*cudaLocator)

Options is a function that configures a cudaLocator.

func WithDriverRoot

func WithDriverRoot(driverRoot string) Options

WithDriverRoot is an option that configures the driver root used by the locator.

func WithLogger

func WithLogger(logger *logrus.Logger) Options

WithLogger is an option that configures the logger used by the locator.

Jump to

Keyboard shortcuts

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