struct Status An Error never carries SUCCESS or DEFERRED: only a Deferred reports the latter, and only
until its call is final. Library.status_name spells each one as the engine does.
Fields
code | Int32 | The raw uform_status_t value, kept even when this build does not name it. |
|---|
Values
SUCCESS | Status(Int32(0)) | The call completed. |
|---|---|---|
DEFERRED | Status(Int32(1)) | The call was submitted deferred and is not final yet; the one non-final status. |
OUT_OF_MEMORY | Status(Int32(2)) | Device, pinned or host memory could not be allocated, or the scratch ceiling is too low. |
SHAPE_MISMATCH | Status(Int32(3)) | Item counts, a pixel shape, or a batch envelope disagree with the call or the model. |
UNSUPPORTED_LAYOUT | Status(Int32(4)) | A stride or packing the model cannot read. |
UNKNOWN_KIND | Status(Int32(5)) | A scalar, modality or name this build does not know. |
IO | Status(Int32(7)) | A checkpoint file could not be opened, read or written. |
DEVICE | Status(Int32(8)) | The driver refused or the device faulted; after a fault the executor refuses every later call. |
MALFORMED | Status(Int32(9)) | Supplied bytes could not be decoded: a checkpoint, an image, a clip or a recording. |
INTERNAL | Status(Int32(10)) | The library reported neither success nor a failure, which names a defect rather than a state. |
CONFIG_MISMATCH | Status(Int32(13)) | The request contradicts a frozen configuration, like resuming a checkpoint of another geometry. |
CONTENDED | Status(Int32(14)) | The call was refused rather than waited for, like a submission to a full deferred table. |
CANCELLED | Status(Int32(15)) | A progress handler asked the call to stop; it unwound and published nothing. |
UNSUPPORTED | Status(Int32(16)) | The verb is declared for every residency or model, but this one does not implement it. |
INVALID_ARGUMENT | Status(Int32(17)) | An argument breaks the verb's contract, like a read of a result whose arena a later call rewound. |
LIBRARY_MISSING | Status(Int32(-1)) | Nothing to dlopen, the binding's own. |
SYMBOL_MISSING | Status(Int32(-2)) | The library loaded but does not export a symbol the binding needs, the binding's own. |
VERSION_MISMATCH | Status(Int32(-3)) | The library loaded but reports a different major version than the binding's, the binding's own. |
Conforms to
Copyable, Deinitable, Equatable, ImplicitlyCopyable, Movable, RegisterPassable, TrivialRegisterPassable