View Source EXLA.DeviceBuffer (EXLA v0.4.1)
An EXLA DeviceBuffer for data allocated in the device.
Link to this section Summary
Functions
Deallocates the underlying buffer.
Places the given binary buffer
on the given device
using client
.
Reads size
from the underlying buffer ref.
Link to this section Functions
Deallocates the underlying buffer.
Returns :ok
| :already_deallocated
.
Places the given binary buffer
on the given device
using client
.
Reads size
from the underlying buffer ref.
This copies the underlying device memory into a binary
without destroying it. If size
is negative, then it
reads the whole buffer.