public class DeviceMemoryBufferView extends BaseDeviceMemoryBuffer
MemoryBuffer.EventHandler, MemoryBuffer.MemoryBufferCleaner
Modifier and Type | Method and Description |
---|---|
DeviceMemoryBufferView |
slice(long offset,
long len)
At the moment we don't have use for slicing a view.
|
copyFromDeviceBufferAsync, copyFromHostBuffer, copyFromHostBuffer, copyFromHostBuffer, copyFromHostBuffer, copyFromHostBuffer, copyFromHostBufferAsync, copyFromHostBufferAsync, sliceWithCopy
addressOutOfBoundsCheck, close, copyFromMemoryBuffer, copyFromMemoryBufferAsync, getAddress, getEventHandler, getLength, getRefCount, incRefCount, noWarnLeakExpected, setEventHandler, toString
public final DeviceMemoryBufferView slice(long offset, long len)
slice
in class MemoryBuffer
offset
- where to start the slice at.len
- how many bytes to sliceCopyright © 2024. All rights reserved.