设置通道可选属性,目前仅支持设置通道优先级。
Atlas 200/300/500 推理产品,不支持该接口。
Atlas 推理系列产品(Ascend 310P处理器),不支持该接口。
Atlas 训练系列产品,不支持该接口。
Atlas A2训练系列产品,不支持该接口。
hi_s32 hi_mpi_vpc_set_chn_opt_attr(hi_vpc_chn chn, const hi_opt_attr* opt_attr)
参数名 |
输入/输出 |
说明 |
---|---|---|
chn |
输入 |
图片处理通道号。 Atlas 推理系列产品(Ascend 310P处理器),该参数的取值范围:[0, 256),通道总数最多256。 Atlas A2训练系列产品,该参数的取值范围:[0, 256),通道总数最多256。 Atlas 200/500 A2推理产品,该参数的取值范围:[0, 128),通道总数最多128。 |
opt_attr |
输入 |
通道可选属性信息。 |