openhackathons-org / gpubootcamp

This repository consists for gpu bootcamp material for HPC and AI
Apache License 2.0
524 stars 253 forks source link

[HPC] [NWays] Stdpar code gives more performance just by adding -stdpar #16

Closed bharatk-parallel closed 3 years ago

bharatk-parallel commented 3 years ago

The documentation in Nways stdpar refers to changing the loop to use stl algorithm along with execution policy which is std::parallel . However it is observed that without converting the loop to use execution policy the and just recompiling the code with -stpar generates a parallel gpu code.

bharatk-parallel commented 3 years ago

This was fixed in latest Release of HPC SDK.