memAllocAsync

external fun memAllocAsync(bytesize: Int, hStream: Long): Long

Allocates memory with stream ordered semantics. (cuMemAllocAsync)

Return

Returned device pointer

Parameters

bytesize

Number of bytes to allocate

hStream

The stream establishing the stream ordering contract and the memory pool to allocate from