memAlloc

external fun memAlloc(byteSize: Int): Long

Allocates device memory. (cuMemAlloc)

Return

Returned device pointer

Parameters

byteSize

Requested allocation size in bytes