Fork me on GitHub

src/arraymancer/tensor/backend/cuda

Search:
Group by:
  Source Edit

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
Arraymancer Technical reference Tutorial Spellbook (How-To's) Under the hood