Versions in this module Expand all Collapse all v0 v0.0.1 Nov 27, 2018 Changes in this version + func AsyncCopyDeviceToDevice(dst, src unsafe.Pointer, bytes int, stream unsafe.Pointer, device int) + func AsyncCopyDeviceToHost(dst, src unsafe.Pointer, bytes int, stream unsafe.Pointer, device int) + func AsyncCopyHostToDevice(dst, src unsafe.Pointer, bytes int, stream unsafe.Pointer, device int) + func CreateCudaStream(device int) unsafe.Pointer + func CudaProfilerStart() + func CudaProfilerStop() + func DestroyCudaStream(stream unsafe.Pointer, device int) + func DeviceAllocate(bytes, device int) unsafe.Pointer + func DeviceFree(ptr unsafe.Pointer, device int) + func GetDeviceCount() int + func GetDeviceGlobalMemoryInMB(device int) int + func HostAlloc(bytes int) unsafe.Pointer + func HostFree(p unsafe.Pointer) + func MakeSliceFromCPtr(cptr uintptr, length int) []byte + func MemAccess(p unsafe.Pointer, offset int) unsafe.Pointer + func MemCopy(dst unsafe.Pointer, src unsafe.Pointer, bytes int) + func MemDist(p1 unsafe.Pointer, p2 unsafe.Pointer) int64 + func MemEqual(a unsafe.Pointer, b unsafe.Pointer, bytes int) bool + func MemSwap(dst unsafe.Pointer, src unsafe.Pointer, bytes int) + func WaitForCudaStream(stream unsafe.Pointer, device int) + type AsyncMemCopyFunc func(dst, src unsafe.Pointer, bytes int, stream unsafe.Pointer, device int)