You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Visit godbolt.org, select the latest ifx compiler, and provide the input,
subroutine triad_gpu(n,a,b,c)
integer, intent(in) :: n
real, intent(in) :: a(n), b(n)
real, intent(out) :: c(n)
integer :: i
!$omp target teams loop map(to:a,b) map(from:c)
do i = 1, n
c(i) = a(i) + b(i)
end do
end subroutine
Expected behavior
The assembly output should be there (at the very least); ideally also the device code would be shown.
For fortran 2024 similar directory changes have occured, the offload-builder is now in bin/compiler as well, but llvm-objcopy is Not there. We would probably need to add a directory to PATH before executing the bundler - that's going to a bit more complicated.
Describe the bug
Assembly output is not working when using the Intel Fortran compiler and OpenMP offloading. The error message is,
The equivalent program with icx/icpx works (although it doesn't display the SPIR part), even if the device code is not unbundled.
(The related issue for C++ was #2244)
Steps to reproduce
Visit godbolt.org, select the latest ifx compiler, and provide the input,
Expected behavior
The assembly output should be there (at the very least); ideally also the device code would be shown.
Reproduction link
https://godbolt.org/z/c3zvzK6q3
Screenshots
Not applicable
Operating System
No response
Browser version
No response
The text was updated successfully, but these errors were encountered: