aclmdlGetDatasetBuffer
Applicability
Product |
Supported |
|---|---|
Atlas 350 Accelerator Card |
√ |
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Function Usage
Obtains aclDataBuffer indexed index in aclmdlDataset.
Prototype
1 | aclDataBuffer* aclmdlGetDatasetBuffer(const aclmdlDataset *dataset, size_t index) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
dataset |
Input |
Pointer to data of the aclmdlDataset type Call aclmdlCreateDataset to create data of the aclmdlDataset type in advance. |
index |
Input |
Index of aclDataBuffer to obtain |
Returns
- Success: aclDataBuffer address
- Failure: empty address
Parent topic: aclmdlDataset