yhjo09 / SR-LUT

173 stars 27 forks source link

How to parallel execution in VS2017? #9

Open Zhaoxuyu opened 2 years ago

Zhaoxuyu commented 2 years ago

Thank you for your great work at first.

Now we are planing to run SR-LUT on a PC(i7 CPU), we are considering to convert Python project (inference part) to VS2017.

I think there will be no big problem for python converting to C++, but we concern the speed issue.

I studied issue #1,and know that we should use parallel execution to improve the speed. for Android, it is Stream API. But for VS2017 on PC. would you please give me some suggestion on how to do parallel execution ? Is multipe thread a good solution?

Thank you in advance.

yhjo09 commented 2 years ago

Hi, You can use the same Stream API for Java, but I am not sure what is the equivalent for C++. Sorry for not being of any help.