@Name(value="mkldnn::handle<mkldnn_primitive_desc_t>") @NoOffset @Properties(inherit=mkldnn.class) public class mkldnn_primitive_desc_handle extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
mkldnn_primitive_desc_handle() |
mkldnn_primitive_desc_handle(long size)
Native array allocator.
|
mkldnn_primitive_desc_handle(mkldnn_primitive_desc_handle other) |
mkldnn_primitive_desc_handle(mkldnn_primitive_desc t,
boolean weak)
Constructs a C handle wrapper.
|
mkldnn_primitive_desc_handle(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(mkldnn_primitive_desc_handle other) |
mkldnn_primitive_desc |
get()
Returns the value of the underlying C handle.
|
mkldnn_primitive_desc_handle |
getPointer(long i) |
boolean |
notEquals(mkldnn_primitive_desc_handle other) |
mkldnn_primitive_desc_handle |
position(long position) |
mkldnn_primitive_desc_handle |
put(mkldnn_primitive_desc_handle other) |
void |
reset(mkldnn_primitive_desc t) |
void |
reset(mkldnn_primitive_desc t,
boolean weak)
Resets the value of a C handle.
|
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public mkldnn_primitive_desc_handle(Pointer p)
Pointer(Pointer)
.public mkldnn_primitive_desc_handle(long size)
Pointer.position(long)
.public mkldnn_primitive_desc_handle(mkldnn_primitive_desc t, @Cast(value="bool") boolean weak)
t
- The C handle to wrap.weak
- A flag to specify whether to construct a weak wrapper.public mkldnn_primitive_desc_handle()
public mkldnn_primitive_desc_handle(@Const @ByRef mkldnn_primitive_desc_handle other)
public mkldnn_primitive_desc_handle position(long position)
public mkldnn_primitive_desc_handle getPointer(long i)
getPointer
in class Pointer
@ByRef @Name(value="operator =") public mkldnn_primitive_desc_handle put(@Const @ByRef mkldnn_primitive_desc_handle other)
public void reset(mkldnn_primitive_desc t, @Cast(value="bool") boolean weak)
t
- The new value of the C handle.weak
- A flag to specify whether the wrapper should be weak.public void reset(mkldnn_primitive_desc t)
public mkldnn_primitive_desc get()
@Cast(value="bool") @Name(value="operator ==") public boolean equals(@Const @ByRef mkldnn_primitive_desc_handle other)
Copyright © 2022. All rights reserved.