I am converting libSGM repo using dpct and while converting some test files, I noticed that dpct is not converting thrust::host_vector to std::vector consistently.
For example for test/integrated.cu it successfully converted thrust::host_vector to std::vector but for test/census_transform_test.cu it left const thrust::host_vector<T>& src as is and also for test/winner_takes_all_test.cu, it left const thrust::host_vector<sgm::cost_type>& src as is at two places (parameter of function winner_takes_all_left & winner_takes_all_right) .
cuda files and converted files are attached for reference.
The migration of thrurst library variables is a bit inconsistent like you said. Issue is reproducible at my end too.
I have escalated this issue to the concerned team.
Thanks for reporting this issue.