hi_mpi_adec_create_chn

Applicable Products

Product

Supported

Ascend 950PR&950DT products

☓

Atlas A3 products

☓

Atlas A2 products

☓

Atlas 200I/500 A2 inference products

√

Atlas inference products

☓

Atlas training products

☓

Function

Creates an ADEC channel.

If the channel has been created, an error code indicating that the channel has been created is returned.

Prototype

hi_s32 hi_mpi_adec_create_chn(hi_adec_chn adec_chn, const hi_adec_chn_attr *attr)

Parameters

Parameter

Input/Output

Description

adec_chn

Input

Channel ID. The value range is [0, 6).

attr

Input

Pointer to the ADEC channel attributes.

Returns