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