Status#
Fully qualified name: cupva::Status
Defined in src/host/shared/include/install/cupva_host_common.hpp
-
struct Status#
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. Every field is written on each successful query, so the caller need not initialize it.
Maturity: GA
Public Members
-
Error 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 submit calls made on that Stream between the submission that triggered the asynchronous error and the first submit call to fail with cupva::Error::InvalidContext. 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 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 COMMAND_UNKNOWN when the command range could not be resolved.
-
char_t const *streamName#
The name registered for that Stream through cupva::Stream::setName, or nullptr when the Stream was never named.
-
char_t const *errorMsg#
Human readable diagnostic. Format is not stable between releases or platforms.