|
VART-ML
0.3.0
|
Struct representing a job handle for asynchronous execution. More...
#include <vart_runner_factory.hpp>
Public Member Functions | |
| JobHandle (StatusCode stat, uint32_t id) | |
| Constructs a JobHandle with the given status and job ID. More... | |
| JobHandle () | |
| Default constructor. Initializes status to FAILURE and job_id to 0 (invalid). More... | |
Public Attributes | |
| StatusCode | status |
| uint32_t | job_id |
Struct representing a job handle for asynchronous execution.
This struct holds the status of a submitted job, including whether it was successfully submitted and its unique identifier.
|
inline |
Constructs a JobHandle with the given status and job ID.
| stat | Submission status of the job. |
| id | Unique identifier for the job. |
|
inline |
Default constructor. Initializes status to FAILURE and job_id to 0 (invalid).
| vart::JobHandle::job_id |
Unique identifier for the job. A value of 0 is reserved as invalid; valid job IDs start from 1.
| vart::JobHandle::status |
Status of the submitted job.