How to Install gcc-offload-nvptx in Ubuntu 18.04



Install gcc-offload-nvptx by entering the following commands in the terminal:

sudo apt update
sudo apt install gcc-offload-nvptx

Description:

GCC offloading compiler to NVPTX

This package contains libgomp plugin for offloading to NVidia PTX. The plugin needs libcuda.so.1 shared library that has to be installed separately. . This is a dependency package providing the default GNU Objective-C compiler.

Version: 4:7.3.0-3ubuntu2

Section: universe/devel