Fork me on GitHub

src/arraymancer/tensor/operators_blas_l1_cuda

  Source Edit

Procs

proc `*`[T: SomeFloat](a: T; t: CudaTensor[T]): CudaTensor[T] {.noinit, inline.}
CudaTensor multiplication by a scalar   Source Edit
proc `*`[T: SomeFloat](t: CudaTensor[T]; a: T): CudaTensor[T] {.noinit, inline.}
CudaTensor multiplication by a scalar   Source Edit
proc `*=`[T: SomeFloat](t: var CudaTensor[T]; a: T) {.inline.}
CudaTensor inplace multiplication by a scalar   Source Edit
proc `+`[T: SomeFloat](a, b: CudaTensor[T]): CudaTensor[T] {.noinit.}
CudaTensor addition   Source Edit
proc `+=`[T: SomeFloat](a: var CudaTensor[T]; b: CudaTensor[T])
CudaTensor in-place addition   Source Edit
proc `-`[T: SomeFloat](a, b: CudaTensor[T]): CudaTensor[T] {.noinit.}
CudaTensor substraction   Source Edit
proc `-=`[T: SomeFloat](a: var CudaTensor[T]; b: CudaTensor[T])
CudaTensor in-place substraction   Source Edit
proc `/`[T: SomeFloat](t: CudaTensor[T]; val: T): CudaTensor[T] {.noinit.}
CudaTensor division by a scalar   Source Edit
proc `/=`[T: SomeFloat](t: var CudaTensor[T]; a: T) {.inline.}
CudaTensor in-place division by a scalar   Source Edit
proc dot[T: SomeFloat](a, b: CudaTensor[T]): T {.inline.}
Vector to Vector dot (scalar) product   Source Edit
Arraymancer Technical reference Tutorial Spellbook (How-To's) Under the hood