@Namespace(value="mkldnn") @NoOffset @Properties(inherit=mkldnn.class) public class error extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
error(int astatus,
BytePointer amessage) |
error(int astatus,
BytePointer amessage,
mkldnn_primitive aerror_primitive)
Constructs an error instance.
|
error(int astatus,
String amessage) |
error(int astatus,
String amessage,
mkldnn_primitive aerror_primitive) |
error(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
primitive |
error_primitive() |
error |
error_primitive(primitive setter) |
BytePointer |
message() |
error |
message(BytePointer setter) |
int |
status() |
error |
status(int setter) |
static void |
wrap_c_api(int status,
BytePointer message) |
static void |
wrap_c_api(int status,
BytePointer message,
mkldnn_primitive error_primitive)
A convenience function for wrapping calls to the C API.
|
static void |
wrap_c_api(int status,
String message) |
static void |
wrap_c_api(int status,
String message,
PointerPointer error_primitive) |
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 error(Pointer p)
Pointer(Pointer)
.public error(@Cast(value="mkldnn_status_t") int astatus, @StdString BytePointer amessage, mkldnn_primitive aerror_primitive)
astatus
- The error status returned by the C API.amessage
- The error message.aerror_primitive
- (optional) A C handle of the primitive that
caused the error.public error(@Cast(value="mkldnn_status_t") int astatus, @StdString BytePointer amessage)
public error(@Cast(value="mkldnn_status_t") int astatus, @StdString String amessage, mkldnn_primitive aerror_primitive)
public error(@Cast(value="mkldnn_status_t") int astatus, @StdString String amessage)
public error status(int setter)
@StdString public BytePointer message()
public error message(BytePointer setter)
public static void wrap_c_api(@Cast(value="mkldnn_status_t") int status, @StdString BytePointer message, @ByPtrPtr mkldnn_primitive error_primitive)
status
- The error status returned by the C API.message
- The error message.error_primitive
- (optional) A C handle of the primitive that
caused the error.public static void wrap_c_api(@Cast(value="mkldnn_status_t") int status, @StdString BytePointer message)
public static void wrap_c_api(@Cast(value="mkldnn_status_t") int status, @StdString String message, @Cast(value="mkldnn_primitive_t*") PointerPointer error_primitive)
public static void wrap_c_api(@Cast(value="mkldnn_status_t") int status, @StdString String message)
Copyright © 2022. All rights reserved.