Procs
proc cudaMalloc[T](size: Natural): ptr T {.noSideEffect, inline.}
- Internal proc. Wrap CudaMAlloc(var pointer, size) -> Error_code Source Edit
proc deallocCuda[T](p: ref [ptr T]) {.noSideEffect.}
- Source Edit
proc layoutOnDevice[T: SomeFloat](t: CudaTensor[T]): CudaTensorLayout[T] {. noSideEffect.}
- Store a CudaTensor shape, strides, etc information on the GPU Source Edit
proc newCudaStorage[T: SomeFloat](length: int): CudaStorage[T] {.noSideEffect.}
- Source Edit