/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-rocal/checkouts/develop/rocAL/include/api/rocal_api.h Source File#
rocal_api.h
Go to the documentation of this file.
55 extern "C" 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);
RocalTensorOutputType
rocAL Tensor Output Type enum
Definition: rocal_api_types.h:240
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)
rocalCreate creates the context for a new augmentation pipeline. Initializes all the required interna...
RocalStatus ROCAL_API_CALL rocalRelease(RocalContext rocal_context)
rocalRelease function to free all the resources allocated during the graph creation process.
RocalStatus ROCAL_API_CALL rocalRun(RocalContext context)
rocalRun function to process and run the built and verified graph.
RocalStatus ROCAL_API_CALL rocalVerify(RocalContext context)
rocalVerify function to verify the graph for all the inputs and outputs
The AMD rocAL Library - Augmentations.
The AMD rocAL Library - Data Loaders.
The AMD rocAL Library - Data Transfer.
The AMD rocAL Library - Info.
The AMD rocAL Library - Meta Data.
The AMD rocAL Library - Parameters.
The AMD rocAL Library - Types.