Documentation
GitHub
Example
Dlang.org
CuPtr.this
grain
cuda
CuPtr
create uninitialized T.sizeof * n array in device
this
(
T
[]
host
)
this
(
size_t
n
)
struct
CuPtr
(T)
this
(
size_t
n
)
this
(
CUdeviceptr
p
,
size_t
l
)
Meta
Source
See Implementation
grain
cuda
CuPtr
constructors
this
destructors
~this
create uninitialized T.sizeof * n array in device