Branch: refs/heads/main
Revision: 465b045eee7055d675f9c6827db525e17d683c64
Author: dlongnecke-cray
Link: dlopen: Migrate `chpl_comm_register_global_var` to module code by dlongnecke-cray · Pull Request #28887 · chapel-lang/chapel · GitHub
Log Message:
dlopen: Migrate chpl_comm_register_global_var to module code (#28887)
This PR migrates the RT function chpl_comm_register_global_var to live
in module code. It introduces a new internal module called
ChapelRuntimeInterface.chpl. In the future much more stuff will live
in this module. For now, it only contains a single procedure
chpl_registerGlobalVar, which is functionally identical to its old
runtime equivalent.
TESTING
-
standard -
COMM=gasnet,COMPILER=gnu - Build with
COMM=ofi,COMPILER=gnu - Build with
gasnet-asanand runfastAndIncremental.chpl
Reviewed by @jabraham17. Thanks!
Diff:
M compiler/codegen/cg-expr.cpp
A modules/internal/ChapelRuntimeInterface.chpl
M modules/internal/ChapelStandard.chpl
M runtime/include/chpl-comm.h
M runtime/include/chpl-prginfo-data-macro.h
M runtime/include/chplcgfns.h
M runtime/src/chpl-comm.c
M runtime/src/comm/gasnet/comm-gasnet-ex.c
M runtime/src/comm/ofi/comm-ofi.c
M runtime/src/comm/ugni/comm-ugni.c
M test/compflags/ferguson/print-module-resolution.good
M test/modules/sungeun/init/printModuleInitOrder.good
https://github.com/chapel-lang/chapel/pull/28887.diff