Compilation error with HIPCC
I am a collaborator on the OPM project (https://opm-project.org/) and am currently working on offloading the well solver portion of the code to AMD GPUs. During OPM compilation with HIPCC, I encountered the following error:
This appears to be a misinterpretation, where HIPCC is likely interpreting the output operator overload as the HIP kernel launch chevron symbol. I added a blank space between '<<' and '<>', and the compilation completed successfully. I think this is a HIPCC issue, and I have already opened an issue for them (https://github.com/ROCm/llvm-project/issues/149). However, since this is relatively easy to solve on Dune, I decided to open this issue here as well. It might be a good idea to change the code to prevent this compilation error.