cupvaStatus_t#
Defined in detail/scheduling/cupva_host_context.h
-
struct cupvaStatus_t#
Health of the cuPVA runtime, and a description of the failure when it is not healthy.
Fields are expressed in terms of the public API. When err is CUPVA_ERROR_NONE the remaining fields carry no failure to describe.
Maturity: GA
Public Members
-
cupvaError_t err#
CUPVA_ERROR_NONE while the current Context is usable, otherwise the first error that invalidated it.
-
uint32_t stream#
The Stream the failing work was submitted on, counted in order of creation on this Context, from 1.
Zero when the failure cannot be attributed to a Stream, which happens when the work was submitted by cuPVA itself rather than through a Stream.
-
uint32_t submissionsSinceError#
The number of CupvaStreamSubmit() calls made on that Stream between the submission that triggered the asynchronous error and the first one to fail with CUPVA_INVALID_CONTEXT.
Zero means the most recent submission on that Stream was the cause. Bounded by the number of submissions the application can have in flight at once. Set to CUPVA_SUBMISSION_UNKNOWN when the failing submission could not be located.
-
uint32_t command#
The command within that submission, in the order the application passed them to submit, from 0.
Set to CUPVA_COMMAND_UNKNOWN when the command range could not be resolved.
-
char const *streamName#
The name registered for that Stream through CupvaStreamSetName, or NULL when the Stream was never named.
-
char const *errorMsg#
Human readable diagnostic.
Format is not stable between releases or platforms.