Programming with supported CUDA Fortran features

IBM® XL Fortran for Linux supports the CUDA Fortran programming model to exploit the NVIDIA GPUs. You can use the commonly used subset of CUDA Fortran that is provided by IBM XL Fortran for Linux to offload computations to the NVIDIA GPUs.

You must specify the -qcuda option to enable the compiler support for CUDA Fortran. For more information, see -qcuda.

You can specify the -qtgtarch option to specify real or virtual GPU architectures where the code may run. For more information, see -qtgtarch.

For more information about CUDA Fortran programming using IBM XL Fortran for Linux, including useful compiler options and a list of supported CUDA Fortran features, see the Getting Started with CUDA Fortran programming using XL Fortran.



Voice your opinion on getting help information Ask IBM compiler experts a technical question in the IBM XL compilers forum Reach out to us