@Name(value="mkldnn::primitive_desc") @NoOffset @Properties(inherit=mkldnn.class) public class primitive_desc extends mkldnn_primitive_desc_handle
\}
\addtogroup cpp_api_primitives Primitives \{
\addtogroup cpp_api_primitive_descriptors Primitive descriptors \{
A base class for all primitive descriptors.
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
primitive_desc(const_mkldnn_op_desc_t desc,
primitive_attr attr,
engine e,
mkldnn_primitive_desc hint_fwd_pd) |
primitive_desc(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
engine |
get_engine() |
primitive_attr |
get_primitive_attr() |
BytePointer |
impl_info_str()
Returns implementation name
|
boolean |
next_impl()
Advances the next implementation for the given op descriptor.
|
memory.primitive_desc |
query_mpd(int what) |
memory.primitive_desc |
query_mpd(int what,
int idx)
Queries and returns requested memory primitive descriptor.
|
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 primitive_desc(Pointer p)
Pointer(Pointer)
.public primitive_desc(const_mkldnn_op_desc_t desc, @Const primitive_attr attr, @Const @ByRef engine e, @Const mkldnn_primitive_desc hint_fwd_pd)
@ByVal public primitive_attr get_primitive_attr()
@Cast(value="const char*") public BytePointer impl_info_str()
@Cast(value="bool") public boolean next_impl()
@ByVal public memory.primitive_desc query_mpd(@Cast(value="mkldnn::query") int what, int idx)
@ByVal public memory.primitive_desc query_mpd(@Cast(value="mkldnn::query") int what)
Copyright © 2022. All rights reserved.