gtensor icon indicating copy to clipboard operation
gtensor copied to clipboard

fortran: rocm does not find ISO_Fortran_binding.h header

Open bd4 opened this issue 3 years ago • 2 comments

nvcc build c_test_fortran.cxx example just fine, but hipcc from ROCm 5.3.0 does not find the header, which is actually provided by gfortran. This may require hacking include paths to workaround.

bd4 avatar Nov 12 '22 19:11 bd4

It works fine for icpx/dpcpp too, so it's just the hip backend where it's an issue.

bd4 avatar Nov 12 '22 19:11 bd4

It works on intel because they include their own copy of ISO_Fortran_binding.h. Presumably it works with nvcc because it forwards to gcc which is packaged in such a way that when gfortran is installed it knows to look for it's headers too. Not clear if it's part of a standard clang install (which both intel and hip cpp compilers are based on) or not.

bd4 avatar Nov 12 '22 19:11 bd4