Turning on gpu offloading on gtx 1650 (mobile) in linux using OpenMP

I have a notebook (lenovo ideapad gaming 3i i5 processor and gtx 1650) and want to turn on offloading to the gtx 1650 gpu processor using a command line aplication developed with OpenMP and C. It seems gpu offloading is like disabled. How can I enable it for command line execution of a program? Thank you all and greetings from Brasil.

You’d need to compile the code to use GPU offloading (which would likely also require some source code modification). To do that you’d need to use a compiler that supports that. Some examples of those compilers are found in the HPC SDK like nvc. There is a separate forum for questions pertaining to that, see here.

Thanks a lot!


Elias J M Torres