@Properties(inherit=dnnl.class) public class dnnl_memory_extra_desc_t extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
dnnl_memory_extra_desc_t()
Default native constructor.
|
dnnl_memory_extra_desc_t(long size)
Native array allocator.
|
dnnl_memory_extra_desc_t(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compensation_mask()
Compensation mask
|
dnnl_memory_extra_desc_t |
compensation_mask(int setter) |
long |
flags()
The flags contain arbitrary extra information, such as compensation.
|
dnnl_memory_extra_desc_t |
flags(long setter) |
dnnl_memory_extra_desc_t |
getPointer(long i) |
dnnl_memory_extra_desc_t |
position(long position) |
BytePointer |
reserved() |
byte |
reserved(int i)
For future backwards compatibility
|
dnnl_memory_extra_desc_t |
reserved(int i,
byte setter) |
float |
scale_adjust()
Scale applied to the data
|
dnnl_memory_extra_desc_t |
scale_adjust(float setter) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getPointer, getPointer, getPointer, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic dnnl_memory_extra_desc_t()
public dnnl_memory_extra_desc_t(long size)
Pointer.position(long).public dnnl_memory_extra_desc_t(Pointer p)
Pointer.Pointer(Pointer).public dnnl_memory_extra_desc_t position(long position)
public dnnl_memory_extra_desc_t getPointer(long i)
getPointer in class Pointer@Cast(value="uint64_t") public long flags()
dnnl_memory_extra_flags_tpublic dnnl_memory_extra_desc_t flags(long setter)
public int compensation_mask()
public dnnl_memory_extra_desc_t compensation_mask(int setter)
public float scale_adjust()
public dnnl_memory_extra_desc_t scale_adjust(float setter)
public dnnl_memory_extra_desc_t reserved(int i, byte setter)
@MemberGetter @Cast(value="char*") public BytePointer reserved()
Copyright © 2020. All rights reserved.