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
/usr/bin/ld: /tmp/example-49d1c7.o:(.rodata+0x0): undefined reference to `.omp_offloading.img_start.nvptx64-nvidia-cuda'
/usr/bin/ld: /tmp/example-49d1c7.o:(.rodata+0x8): undefined reference to `.omp_offloading.img_end.nvptx64-nvidia-cuda'
/usr/bin/ld: /tmp/example-49d1c7.o:(.rodata+0x10): undefined reference to `.omp_offloading.entries_begin'
/usr/bin/ld: /tmp/example-49d1c7.o:(.rodata+0x18): undefined reference to `.omp_offloading.entries_end'
/usr/bin/ld: /tmp/example-49d1c7.o:(.rodata+0x30): undefined reference to `.omp_offloading.entries_begin'
/usr/bin/ld: /tmp/example-49d1c7.o:(.rodata+0x38): undefined reference to `.omp_offloading.entries_end'
Instead of following my -fopenmp-targets=x86_64 command, Flang gives me offloading to NVIDIA. "I no longer have a motorcycle, but the habit remains" (c)
The text was updated successfully, but these errors were encountered:
And found zero occurrences. If it existed, it should pop up at least in the tests. Perhaps, it means the OpenMP linking in Flang was done against PGI's internal fork of LLVM, which is not a part of this project anymore.
Does anyone have a clue? If not, I will match my Fortran example with C example side by side to find the proper naming of OpenMP symbols.
By testing
I get a linking error:
Instead of following my
-fopenmp-targets=x86_64
command, Flang gives me offloading to NVIDIA. "I no longer have a motorcycle, but the habit remains" (c)The text was updated successfully, but these errors were encountered: