Ascend 310 acldvpp API |
Ascend 310P hi_mpi API |
What You Need to Do |
|---|---|---|
Create the struct of the channel description: acldvppCreateChannelDesc |
No corresponding API. Use the hi_vpc_chn_attr struct directly. The struct members are reserved. You can set them to any value (except the null pointer). |
Declare the variables of the hi_vpc_chn_attr struct in your code. |
Create a channel: acldvppCreateChannel |
Create a channel: hi_mpi_vpc_create_chn |
Modify your code to create a channel using the hi_mpi_vpc_create_chn API. |