[all-commits] [llvm/llvm-project] 18af03: [flang] add GETLOG runtime and extension implement...
Yi Wu via All-commits
all-commits at lists.llvm.org
Thu Dec 21 02:35:42 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 18af032c0e16252effeb6dfd02113812388f1d31
https://github.com/llvm/llvm-project/commit/18af032c0e16252effeb6dfd02113812388f1d31
Author: Yi Wu <43659785+yi-wu-arm at users.noreply.github.com>
Date: 2023-12-21 (Thu, 21 Dec 2023)
Changed paths:
M flang/docs/Intrinsics.md
M flang/include/flang/Runtime/extensions.h
M flang/runtime/character.cpp
M flang/runtime/extensions.cpp
M flang/runtime/tools.h
M flang/unittests/Runtime/CommandTest.cpp
Log Message:
-----------
[flang] add GETLOG runtime and extension implementation: get login username (#74628)
Get login username, ussage:
```
CHARACTER(32) :: login
CALL getlog(login)
WRITE(*,*) login
```
getlog is required for an exascale proxyapp.
https://proxyapps.exascaleproject.org/app/minismac2d/
https://github.com/Mantevo/miniSMAC/blob/f90446714226eeef650b78bce06ca4967792e74d/ref/smac2d.f#L615
https://github.com/Mantevo/miniSMAC/blob/f90446714226eeef650b78bce06ca4967792e74d/ref/smac2d.f#L1570
---------
Co-authored-by: Yi Wu <43659785+PAX-12-WU at users.noreply.github.com>
Co-authored-by: Yi Wu <yiwu02 at wdev-yiwu02.arm.com>
Co-authored-by: Kiran Chandramohan <kiranchandramohan at gmail.com>
More information about the All-commits
mailing list