grain ~master (2021-05-15T05:53:16Z)
Dub
Repo
fill_
grain
cuda
fill value for N elements from the first position TODO use cudnnSetTensor
ref
fill_
(S storage, V v, size_t N)
version(grain_cuda)
ref
ref
fill_
(
S
V
)
(
ref
S
storage
,
V
v
,
size_t
N
)
if
(
isDeviceMemory
!
S
)
ref
fill_
(S storage, V value)
Meta
Source
See Implementation
grain
cuda
aliases
CudaElementType
classes
Global
functions
axpy
checkCUDNN
checkCublasErrors
checkCudaErrors
copy
dup
empty
fill_
global
sum
sumNaive
sum_thrust
toHost
zero_
zeros
static variables
context
cublasHandle
cudnnHandle
structs
CuArray
CuModule
CuPtr
Kernel
Launcher
variables
isDeviceMemory
fill value for N elements from the first position TODO use cudnnSetTensor