acldvppGetChannelDescChannelId

Applicable Products

Product

Supported

Ascend 950PR/Ascend 950DT

x

Atlas A3 training products/Atlas A3 inference products

√

Atlas A2 training products/Atlas A2 inference products

√

Atlas 200I/500 A2 inference products

√

Atlas inference products

√

Atlas training products

√

Function

Obtains a channel ID based on the channel description.

API call sequence: acldvppCreateChannelDesc -> acldvppCreateChannel -> acldvppGetChannelDescChannelId

Prototype

1
uint64_t acldvppGetChannelDescChannelId(const acldvppChannelDesc *channelDesc)

Parameters

Parameter

Input/Output

Description

channelDesc

Input

Pointer to the channel description.

Call acldvppCreateChannelDesc to create data of the acldvppChannelDesc type in advance.

Returns

Channel ID.