acltdtCleanChannel
Applicable Products
Product |
Supported |
|---|---|
√ |
|
√ |
|
√ |
|
☓ |
|
☓ |
|
√ |
Function
Clears all data in a channel.
Prototype
1 | aclError acltdtCleanChannel(acltdtChannelHandle *handle) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
handle |
Input |
Channel. Call acltdtCreateChannelWithCapacity to create data of the acltdtChannelHandle type in advance. |
Returns
0 on success; otherwise, failure. For details, see aclError.
Parent topic: Tensor Data Transfer