grain ~master (2021-05-15T05:53:16Z)
Dub
Repo
toHost
grain
cuda
copy device memory to host (maybe reallocate in host)
ref
toHost
(M m, T[] host)
version(grain_cuda)
ref
ref
toHost
(
M
T
)
(
ref
M
m
,
scope
ref
T
[]
host
)
if
(
isDeviceMemory
!
M
)
auto
toHost
(M m, T* host)
auto
toHost
(M m)
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
copy device memory to host (maybe reallocate in host)