The AMD rocAL data transfer functions.
More...
|
RocalStatus ROCAL_API_CALL | rocalCopyToOutput (RocalContext context, unsigned char *out_ptr, size_t out_size) |
| TBD. More...
|
|
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. More...
|
|
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. More...
|
|
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. More...
|
|
void ROCAL_API_CALL | rocalSetOutputs (RocalContext p_context, unsigned int num_of_outputs, std::vector< RocalImage > &output_images) |
| TBD. More...
|
|
The AMD rocAL data transfer functions.
◆ rocalCopyToOutput()
TBD.
- Parameters
-
- Returns
- A RocalStatus - A status code indicating the success or failure
◆ rocalSetOutputs()
TBD.
- Parameters
-
- Returns
- A RocalStatus - A status code indicating the success or failure
◆ rocalToTensor()
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.
- Parameters
-
- Returns
- A RocalStatus - A status code indicating the success or failure
◆ rocalToTensor16()
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.
- Parameters
-
- Returns
- A RocalStatus - A status code indicating the success or failure
◆ rocalToTensor32()
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.
- Parameters
-
- Returns
- A RocalStatus - A status code indicating the success or failure