Fork me on GitHub

src/arraymancer/tensor/private/p_init_opencl

  Source Edit

Procs

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