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)
48
48
# Apply configuration options
49
49
if (FLANG_RT_CUDA_RUNTIME_PTX_WITHOUT_GLOBAL_VARS )
50
50
target_compile_definitions (obj.${name}PTX
51
- PRIVATE FLANG_RT_NO_GLOBAL_VAR_DEFS
51
+ PRIVATE FLANG_RUNTIME_NO_GLOBAL_VAR_DEFS
52
52
)
53
53
endif ()
54
54
Original file line number Diff line number Diff line change 11
11
12
12
namespace Fortran ::runtime {
13
13
14
- #ifndef FLANG_RT_NO_GLOBAL_VAR_DEFS
14
+ #ifndef FLANG_RUNTIME_NO_GLOBAL_VAR_DEFS
15
15
RT_OFFLOAD_VAR_GROUP_BEGIN
16
16
RT_VAR_ATTRS AllocatorRegistry allocatorRegistry;
17
17
RT_OFFLOAD_VAR_GROUP_END
18
- #endif // FLANG_RT_NO_GLOBAL_VAR_DEFS
18
+ #endif // FLANG_RUNTIME_NO_GLOBAL_VAR_DEFS
19
19
20
20
RT_OFFLOAD_API_GROUP_BEGIN
21
21
RT_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;
23
23
24
24
namespace Fortran ::runtime {
25
25
26
- #ifndef FLANG_RT_NO_GLOBAL_VAR_DEFS
26
+ #ifndef FLANG_RUNTIME_NO_GLOBAL_VAR_DEFS
27
27
RT_OFFLOAD_VAR_GROUP_BEGIN
28
28
RT_VAR_ATTRS ExecutionEnvironment executionEnvironment;
29
29
RT_OFFLOAD_VAR_GROUP_END
30
- #endif // FLANG_RT_NO_GLOBAL_VAR_DEFS
30
+ #endif // FLANG_RUNTIME_NO_GLOBAL_VAR_DEFS
31
31
32
32
static void SetEnvironmentDefaults (const EnvironmentDefaultList *envDefaults) {
33
33
if (!envDefaults) {
Original file line number Diff line number Diff line change 19
19
20
20
namespace Fortran ::runtime::io {
21
21
22
- #ifndef FLANG_RT_NO_GLOBAL_VAR_DEFS
22
+ #ifndef FLANG_RUNTIME_NO_GLOBAL_VAR_DEFS
23
23
RT_OFFLOAD_VAR_GROUP_BEGIN
24
24
RT_VAR_ATTRS ExternalFileUnit *defaultInput{nullptr }; // unit 5
25
25
RT_VAR_ATTRS ExternalFileUnit *defaultOutput{nullptr }; // unit 6
26
26
RT_VAR_ATTRS ExternalFileUnit *errorOutput{nullptr }; // unit 0 extension
27
27
RT_OFFLOAD_VAR_GROUP_END
28
- #endif // FLANG_RT_NO_GLOBAL_VAR_DEFS
28
+ #endif // FLANG_RUNTIME_NO_GLOBAL_VAR_DEFS
29
29
30
30
RT_OFFLOAD_API_GROUP_BEGIN
31
31
Original file line number Diff line number Diff line change 10
10
11
11
namespace Fortran ::runtime {
12
12
13
- #ifndef FLANG_RT_NO_GLOBAL_VAR_DEFS
13
+ #ifndef FLANG_RUNTIME_NO_GLOBAL_VAR_DEFS
14
14
// clang-format off
15
15
RT_OFFLOAD_VAR_GROUP_BEGIN
16
16
const RT_CONST_VAR_ATTRS std::uint8_t UTF8FirstByteTable[256 ]{
@@ -41,7 +41,7 @@ const RT_CONST_VAR_ATTRS std::uint8_t UTF8FirstByteTable[256]{
41
41
};
42
42
RT_OFFLOAD_VAR_GROUP_END
43
43
// clang-format on
44
- #endif // FLANG_RT_NO_GLOBAL_VAR_DEFS
44
+ #endif // FLANG_RUNTIME_NO_GLOBAL_VAR_DEFS
45
45
46
46
RT_OFFLOAD_API_GROUP_BEGIN
47
47
You can’t perform that action at this time.
0 commit comments