Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
28543 Discussions

Re: Intel® Fortran Compiler Information and Frequently Asked Questions

FortranUser22
New Contributor I
589 Views

I m looking for a simple Fortran code example of openMP to GPU offload that I can try on visual studio. I m using the latest version of intel fortran ifx and I have intel core i9, I believe that this processor has integrated GPU. I also have NVIDIA GPU in the computer (RTX A5500). 

My other question is : is it possible to offload openMP in intel Fortran to non intel GPU such as NVIDIA. I saw in this forum that this is  now possible with DPC++. Is it possible or can it be possible with intel fortran in the near future? I need to know if I have to learn Cuda fortran.

 

0 Kudos
1 Solution
Barbara_P_Intel
Employee
553 Views

These references will help you get started.

Three Quick, Practical Examples of OpenMP Offload to GPUs (video)

https://www.intel.com/content/www/us/en/developer/videos/three-quick-practical-examples-openmp-offload-gpus.html

Basic understanding of GPU architecture

https://www.intel.com/content/www/us/en/develop/documentation/oneapi-gpu-optimization-guide/top/xe-arch.html

oneAPI GPU Optimization Guide

https://www.intel.com/content/www/us/en/develop/documentation/oneapi-gpu-optimization-guide/top.html

 

As Steve posted, Intel Fortran Compiler with OpenMP offload directives only supports Intel GPUs.

 

View solution in original post

2 Replies
Barbara_P_Intel
Employee
554 Views

These references will help you get started.

Three Quick, Practical Examples of OpenMP Offload to GPUs (video)

https://www.intel.com/content/www/us/en/developer/videos/three-quick-practical-examples-openmp-offload-gpus.html

Basic understanding of GPU architecture

https://www.intel.com/content/www/us/en/develop/documentation/oneapi-gpu-optimization-guide/top/xe-arch.html

oneAPI GPU Optimization Guide

https://www.intel.com/content/www/us/en/develop/documentation/oneapi-gpu-optimization-guide/top.html

 

As Steve posted, Intel Fortran Compiler with OpenMP offload directives only supports Intel GPUs.

 

FortranUser22
New Contributor I
527 Views

Thank you for your detailed answer!

0 Kudos
Reply