Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
57 Views

dpct not converting thrust::host_vector to std::vector at some places

Hi,

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_leftwinner_takes_all_right) .

cuda files and converted files are attached for reference.

Regards,
Gagan

 

0 Kudos
1 Reply
Highlighted
Moderator
41 Views

Hi Gagan,


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.


--Rahul


0 Kudos