public class PinnedMemoryStrategy extends Object implements MemoryStrategy
| Constructor and Description |
|---|
PinnedMemoryStrategy() |
| Modifier and Type | Method and Description |
|---|---|
Object |
alloc(DataBuffer buffer,
int stride,
int offset,
int length) |
Object |
copyToHost(DataBuffer copy,
int offset) |
void |
free(DataBuffer buffer,
int offset,
int length) |
public Object copyToHost(DataBuffer copy, int offset)
copyToHost in interface MemoryStrategypublic Object alloc(DataBuffer buffer, int stride, int offset, int length)
alloc in interface MemoryStrategypublic void free(DataBuffer buffer, int offset, int length)
free in interface MemoryStrategyCopyright © 2015. All Rights Reserved.