How to configure GCC to offload OpenMP 4.5 on Nvidia PTX GPGPU

With gcc 7.1 released, we can now configure gcc for openmp 4.5 by offloading the Nvidia PTX GPGPU. This is what they say in the release note (approximate).

So my question is, are there any special flags to activate this configuration when compiling openmp 4.5 for nvidia target devices?

+3


source to share


1 answer


I found sth from there wiki, but I haven't tested it yet. putting it down just in case for the needy.



-foffload=nvptx-none

0


source







All Articles