Array

Undocumented in source.

Constructors

this
this(size_t n, int dev)
Undocumented in source.
this
this(T[] src, int dev)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Aliases

Element
alias Element = T
Undocumented in source.
Storage
alias Storage = T*
Undocumented in source.

Functions

data
auto data()
Undocumented in source. Be warned that the author may not have intended to support it.
to_cpu
T[] to_cpu()
Undocumented in source. Be warned that the author may not have intended to support it.
to_gpu
auto to_gpu(T[] src)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

cpu_storage
T[] cpu_storage;
Undocumented in source.
dev
int dev;
Undocumented in source.
length
size_t length;
Undocumented in source.
ptr
CUdeviceptr ptr;
Undocumented in source.
rawLength
size_t rawLength;
Undocumented in source.

Inherited Members

From DriverBase

initialized
bool[int] initialized;
Undocumented in source.
deviceInit
auto deviceInit()
Undocumented in source. Be warned that the author may not have intended to support it.
deviceInit
auto deviceInit(int id)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta