@Namespace(value="caffe") @NoOffset @Properties(inherit=caffe.class) public class SyncedMemory extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Modifier and Type | Field and Description |
---|---|
static int |
HEAD_AT_CPU
enum caffe::SyncedMemory::SyncedHead
|
static int |
HEAD_AT_GPU
enum caffe::SyncedMemory::SyncedHead
|
static int |
SYNCED
enum caffe::SyncedMemory::SyncedHead
|
static int |
UNINITIALIZED
enum caffe::SyncedMemory::SyncedHead
|
Constructor and Description |
---|
SyncedMemory() |
SyncedMemory(long size) |
SyncedMemory(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
Pointer |
cpu_data() |
Pointer |
gpu_data() |
int |
head() |
Pointer |
mutable_cpu_data() |
Pointer |
mutable_gpu_data() |
void |
set_cpu_data(Pointer data) |
void |
set_gpu_data(Pointer data) |
long |
size() |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public static final int UNINITIALIZED
public static final int HEAD_AT_CPU
public static final int HEAD_AT_GPU
public static final int SYNCED
public SyncedMemory(Pointer p)
Pointer(Pointer)
.public SyncedMemory()
Copyright © 2022. All rights reserved.