@Namespace(value="mkldnn") @Properties(inherit=mkldnn.class) public class engine extends mkldnn_engine_handle
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Modifier and Type | Field and Description |
---|---|
static int |
any
enum mkldnn::engine::kind
|
static int |
cpu
enum mkldnn::engine::kind
|
Constructor and Description |
---|
engine(int akind,
long index)
Constructs an engine.
|
engine(mkldnn_engine aengine) |
engine(mkldnn_primitive_desc_handle pd) |
engine(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
static long |
get_count(int akind)
Returns the number of engines of a certain kind.
|
equals, get, getPointer, notEquals, position, put, reset, reset
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 static final int any
public static final int cpu
public engine(Pointer p)
Pointer(Pointer)
.public engine(@Cast(value="mkldnn::engine::kind") int akind, @Cast(value="size_t") long index)
akind
- The kind of engine to construct.index
- The index of the engine. Must be less than the value
returned by #get_count() for this particular kind of engine.public engine(mkldnn_engine aengine)
public engine(@Const @ByRef mkldnn_primitive_desc_handle pd)
Copyright © 2022. All rights reserved.