File tree Expand file tree Collapse file tree 5 files changed +9
-9
lines changed Expand file tree Collapse file tree 5 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ macro(enable_cuda_compilation name files)
4848 # Apply configuration options
4949 if (FLANG_RT_CUDA_RUNTIME_PTX_WITHOUT_GLOBAL_VARS)
5050 target_compile_definitions (obj.${name} PTX
51- PRIVATE FLANG_RT_NO_GLOBAL_VAR_DEFS
51+ PRIVATE FLANG_RUNTIME_NO_GLOBAL_VAR_DEFS
5252 )
5353 endif ()
5454
Original file line number Diff line number Diff line change 1111
1212namespace Fortran ::runtime {
1313
14- #ifndef FLANG_RT_NO_GLOBAL_VAR_DEFS
14+ #ifndef FLANG_RUNTIME_NO_GLOBAL_VAR_DEFS
1515RT_OFFLOAD_VAR_GROUP_BEGIN
1616RT_VAR_ATTRS AllocatorRegistry allocatorRegistry;
1717RT_OFFLOAD_VAR_GROUP_END
18- #endif // FLANG_RT_NO_GLOBAL_VAR_DEFS
18+ #endif // FLANG_RUNTIME_NO_GLOBAL_VAR_DEFS
1919
2020RT_OFFLOAD_API_GROUP_BEGIN
2121RT_API_ATTRS void AllocatorRegistry::Register (int pos, Allocator_t allocator) {
Original file line number Diff line number Diff line change @@ -23,11 +23,11 @@ extern char **environ;
2323
2424namespace Fortran ::runtime {
2525
26- #ifndef FLANG_RT_NO_GLOBAL_VAR_DEFS
26+ #ifndef FLANG_RUNTIME_NO_GLOBAL_VAR_DEFS
2727RT_OFFLOAD_VAR_GROUP_BEGIN
2828RT_VAR_ATTRS ExecutionEnvironment executionEnvironment;
2929RT_OFFLOAD_VAR_GROUP_END
30- #endif // FLANG_RT_NO_GLOBAL_VAR_DEFS
30+ #endif // FLANG_RUNTIME_NO_GLOBAL_VAR_DEFS
3131
3232static void SetEnvironmentDefaults (const EnvironmentDefaultList *envDefaults) {
3333 if (!envDefaults) {
Original file line number Diff line number Diff line change 1919
2020namespace Fortran ::runtime::io {
2121
22- #ifndef FLANG_RT_NO_GLOBAL_VAR_DEFS
22+ #ifndef FLANG_RUNTIME_NO_GLOBAL_VAR_DEFS
2323RT_OFFLOAD_VAR_GROUP_BEGIN
2424RT_VAR_ATTRS ExternalFileUnit *defaultInput{nullptr }; // unit 5
2525RT_VAR_ATTRS ExternalFileUnit *defaultOutput{nullptr }; // unit 6
2626RT_VAR_ATTRS ExternalFileUnit *errorOutput{nullptr }; // unit 0 extension
2727RT_OFFLOAD_VAR_GROUP_END
28- #endif // FLANG_RT_NO_GLOBAL_VAR_DEFS
28+ #endif // FLANG_RUNTIME_NO_GLOBAL_VAR_DEFS
2929
3030RT_OFFLOAD_API_GROUP_BEGIN
3131
Original file line number Diff line number Diff line change 1010
1111namespace Fortran ::runtime {
1212
13- #ifndef FLANG_RT_NO_GLOBAL_VAR_DEFS
13+ #ifndef FLANG_RUNTIME_NO_GLOBAL_VAR_DEFS
1414// clang-format off
1515RT_OFFLOAD_VAR_GROUP_BEGIN
1616const RT_CONST_VAR_ATTRS std::uint8_t UTF8FirstByteTable[256 ]{
@@ -41,7 +41,7 @@ const RT_CONST_VAR_ATTRS std::uint8_t UTF8FirstByteTable[256]{
4141};
4242RT_OFFLOAD_VAR_GROUP_END
4343// clang-format on
44- #endif // FLANG_RT_NO_GLOBAL_VAR_DEFS
44+ #endif // FLANG_RUNTIME_NO_GLOBAL_VAR_DEFS
4545
4646RT_OFFLOAD_API_GROUP_BEGIN
4747
You can’t perform that action at this time.
0 commit comments