windows

package
v0.0.0-...-1a6b745 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

package windows implements Cuda C Runtime library to Go.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CUDAErrorHandler

func CUDAErrorHandler(caller cudago.CudaCall, errCode CUDAError_t) error

CUDAErrorHandler return CudaError match for errcode

func NewCUDAWindowsCall

func NewCUDAWindowsCall(libraryPath string) cudago.CudaCall

NewCUDAWindowsCall returns a CudaCall interface with loading CUDA dynamic library automatically.

If failed, NewCUDAWindowsCall returns nil or panic.

Types

type CUDAError_t

type CUDAError_t int

CUDAError_t CUDA error type

type VoidPtr

type VoidPtr uintptr

VoidPtr for C type void *

type VoidPtrPtr

type VoidPtrPtr uintptr

VoidPtrPtr for C type void **

Jump to

Keyboard shortcuts

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