https://github.com/dpalermo commented: The hostdevice build of flang-rt fails after this change with "error: call to non-static member function without an object argument" This can be fixed by making a couple small changes (see unit.h inline comments) https://github.com/llvm/llvm-project/pull/153688