/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-rocal/checkouts/docs-5.7.0/rocAL/include/api/rocal_api_data_transfer.h Source File#
rocal_api_data_transfer.h
Go to the documentation of this file.
42 extern "C" RocalStatus ROCAL_API_CALL rocalCopyToOutput(RocalContext context, unsigned char *out_ptr, size_t out_size);
51 extern "C" RocalStatus ROCAL_API_CALL rocalToTensor32(RocalContext rocal_context, float *out_ptr,
89 extern "C" void ROCAL_API_CALL rocalSetOutputs(RocalContext p_context, unsigned int num_of_outputs, std::vector<RocalImage> &output_images);
void ROCAL_API_CALL rocalSetOutputs(RocalContext p_context, unsigned int num_of_outputs, std::vector< RocalImage > &output_images)
TBD.
RocalStatus ROCAL_API_CALL rocalCopyToOutput(RocalContext context, unsigned char *out_ptr, size_t out_size)
TBD.
RocalStatus ROCAL_API_CALL rocalToTensor16(RocalContext rocal_context, half *out_ptr, RocalTensorLayout tensor_format, float multiplier0, float multiplier1, float multiplier2, float offset0, float offset1, float offset2, bool reverse_channels, RocalOutputMemType output_mem_type)
TBD.
RocalStatus ROCAL_API_CALL rocalToTensor32(RocalContext rocal_context, float *out_ptr, RocalTensorLayout tensor_format, float multiplier0, float multiplier1, float multiplier2, float offset0, float offset1, float offset2, bool reverse_channels, RocalOutputMemType output_mem_type)
TBD.
RocalStatus ROCAL_API_CALL rocalToTensor(RocalContext rocal_context, void *out_ptr, RocalTensorLayout tensor_format, RocalTensorOutputType tensor_output_type, float multiplier0, float multiplier1, float multiplier2, float offset0, float offset1, float offset2, bool reverse_channels, RocalOutputMemType output_mem_type)
TBD.
RocalTensorOutputType
rocAL Tensor Output Type enum
Definition: rocal_api_types.h:228
The AMD rocAL Library - Types.