Failed to Obtain the VPC Result

Symptom

The hi_mpi_vpc_get_process_result call returns HI_ERR_VPC_ILLEGAL_PARAM. Information similar to the following is displayed in the log, which may vary in different versions:

this channel doesn't have taskID 8845!, Channel id 0

Or

taskId:8845 does not exist

Possible Cause

An invalid task ID is passed to hi_mpi_vpc_get_process_result.

Solution

Ensure that the task ID passed to the hi_mpi_vpc_get_process_result call is the output from the function API.

Pass the task ID output from the function API to hi_mpi_vpc_get_process_result.