aclmdlAddDatasetBuffer

Description

Adds aclDataBuffer to aclmdlDataset. This API is synchronous.

Prototype

aclError aclmdlAddDatasetBuffer(aclmdlDataset *dataset, aclDataBuffer *dataBuffer)

Parameters

Parameter

Input/Output

Description

dataset

Output

Pointer to the aclmdlDataset address where aclDataBuffer is to be added.

Call aclmdlCreateDataset to create data of the aclmdlDataset type in advance.

dataBuffer

Input

Pointer to the aclDataBuffer address.

Call aclCreateDataBuffer to create data of the aclDataBuffer type in advance.

Returns

0 on success; else, failure.