Fork me on GitHub

src/arraymancer/tensor/private/p_init_cuda

  Source Edit

Procs

proc newCudaTensor[T: SomeFloat](shape: Metadata; layout: OrderType = colMajor): CudaTensor[
    T] {.noinit, noSideEffect.}
  Source Edit
proc newCudaTensor[T: SomeFloat](shape: varargs[int];
                                 layout: OrderType = colMajor): CudaTensor[T] {.
    noinit, noSideEffect.}
Internal proc Allocate a CudaTensor WARNING: The Cuda memory is not initialized to 0   Source Edit
Arraymancer Technical reference Tutorial Spellbook (How-To's) Under the hood