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

Supported Intel GPU for IFX Compiler

cu238
Novice
294 Views

Recently we made an 3D ocean numerical model running on Intel GPU by using ifx compiler.

Performance was tested.

Arc A770 is about 6 times faster than serial ifort version.

Arc B580 is 35% faster than Arc A770, in which some subroutines are 2 or 3 times faster.

In testing Arc B580, we found the model.exe occasionally running on Intel UHD Graphics 750, which is the integrated graphics within Intel Core i7-11700k CPU.

Running on integrated graphics not only makes the model slow, but also incorrect. The model overflows after 2700 timesteps.

In our model, there are many "!$OMP TARGET ENTER DATA MAP(always,to: var1, var2, ...)" code before the main loop. They requires about 1GB GPU memory. 

Could such model program run on latest integrated graphics like laptop Lunarlake's xe2 GPU? 

Or it is only available for discrete graphics?

 

Thanks!

0 Kudos
1 Reply
hifron
Beginner
231 Views

To use an Intel GPU, install the latest Intel GPU drivers or oneAPI drivers

To allow long-running GPU kernels in native environments, disable the GPU hangcheck by entering the following command to the Linux kernel boot parameters in GRUB_CMDLINE_LINUX_DEFAULT: i915.enable_hangcheck=0


good job Intel because GPU and CPU should have GPU/CPU hw reset, it is common vendor industry practice due driver/uefi/acpi bugs

 

but it also could be cpp/fortran overflow or other common error illness in practice in programmer jobs...

 

some trouble with multiple drivers and `apt --fix-broken install` or even `dpkg --configure --pending` seems as maybe job to done for packages like libze-intel-gpu1, intel-level-zero-gpu and not recent libigdgmm12 for 24.04 LTS but apt download and apt install ./libigd... causes trouble for va-media-driver but this is maybe also only 24.04 Mesa issue... or disabling temporarily Steam and OneAPI repos after upgrade and reboot into console to fix... and even Steam apt sources arch=amd64,i386 comes to mandatory intel drivers i386 place...

steam_deps: libc6:amd64 libc6:i386 libegl1:amd64 libegl1:i386 libgbm1:amd64 libgbm1:i386 libgl1-mesa-dri:amd64 libgl1-mesa-dri:i386 libgl1:amd64 libgl1:i386 steam-libs-i386:i386            steamdeps:$HOME/.steam/root/steamdeps.txt ->like missing apt install intel-gpu-mesa3d:i386, -> kobuk-team ppa Mesa also missing for noble 24.04LTS Intel-Mesa ppa(for i386)

 

and even seems that instructions for GPU drivers are in conflict for oneAPI drivers...

 

back to the question: Supported official hw list so maybe need for Mesa or compiler voluntiers, but also maybe for programmers to fix their programs as it is common issue in the world...

0 Kudos
Reply