|
| RocalContext ROCAL_API_CALL | rocalCreate (size_t batch_size, RocalProcessMode affinity, int gpu_id=0, size_t cpu_thread_count=1, size_t prefetch_queue_depth=3, RocalTensorOutputType output_tensor_data_type=RocalTensorOutputType::ROCAL_FP32, bool enable_checkpointing=false) |
| | rocalCreate creates the context for a new augmentation pipeline. Initializes all the required internals for the pipeline More...
|
| |
| RocalStatus ROCAL_API_CALL | rocalVerify (RocalContext context) |
| | rocalVerify function to verify the graph for all the inputs and outputs More...
|
| |
| RocalStatus ROCAL_API_CALL | rocalRun (RocalContext context) |
| | rocalRun function to process and run the built and verified graph. More...
|
| |
| RocalStatus ROCAL_API_CALL | rocalRelease (RocalContext rocal_context) |
| | rocalRelease function to free all the resources allocated during the graph creation process. More...
|
| |
| RocalStatus ROCAL_API_CALL | rocalSerialize (RocalContext rocal_context, size_t *serialized_string_size) |
| | Serialize the current pipeline into an opaque binary string. More...
|
| |
| RocalStatus ROCAL_API_CALL | rocalGetSerializedString (RocalContext rocal_context, char *serialized_string) |
| | Copy the last serialized pipeline string into a user buffer. More...
|
| |
| RocalContext ROCAL_API_CALL | rocalDeserialize (const char *serialized_pipeline, size_t serialized_string_size, RocalPipelineParams *pipe_params) |
| | Deserialize a pipeline from a serialized binary string. More...
|
| |
| RocalStatus ROCAL_API_CALL | rocalCheckpoint (RocalContext rocal_context, size_t *serialized_ckpt_string_size) |
| | Serialize the current pipeline state into an opaque checkpoint blob. More...
|
| |
| RocalStatus ROCAL_API_CALL | rocalGetSerializedCheckpointString (RocalContext rocal_context, char *serialized_ckpt_string) |
| | Copy the last serialized checkpoint blob into a user buffer. More...
|
| |
| RocalStatus ROCAL_API_CALL | rocalRestoreFromSerializedCheckpoint (RocalContext rocal_context, const char *serialized_ckpt_string, size_t serialized_ckpt_size) |
| | Restore pipeline state from a serialized checkpoint blob. More...
|
| |