Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Flang][NFC] Move runtime library files to flang-rt. #110298

Open
wants to merge 75 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 40 commits
Commits
Show all changes
75 commits
Select commit Hold shift + click to select a range
70ef83a
[Flang] Split common headers
Meinersbur Sep 27, 2024
6071ac6
clang-format
Meinersbur Sep 27, 2024
98c71d8
Normlize header guards
Meinersbur Sep 27, 2024
2216bfe
Move files to FortranRuntime
Meinersbur Sep 27, 2024
d49157d
Move Module sources back to Flang
Meinersbur Oct 1, 2024
8b984fe
Move runtime tests
Meinersbur Oct 7, 2024
33ada12
Undo workaround not required anymore
Meinersbur Oct 8, 2024
42e5abb
Split headers in preparation for cross-compilation. NFC.
Meinersbur Oct 14, 2024
8757eb9
Move SubscriptValue to public header
Meinersbur Oct 14, 2024
b1dafd4
Keep common files in flang/
Meinersbur Oct 14, 2024
85640e4
Merge branch 'users/meinersbur/flang_runtime_split-headers2' into use…
Meinersbur Oct 14, 2024
3beb59b
build fix
Meinersbur Oct 14, 2024
b3f9e91
Re-add ISO-Fortran-binding unittest & cleanup
Meinersbur Oct 15, 2024
765c2f9
FortranRuntime -> flang-rt
Meinersbur Oct 16, 2024
2c31071
Restore API explanation comment
Meinersbur Oct 16, 2024
5ce28b5
Remove vectorClassSize parameter
Meinersbur Oct 16, 2024
e3072f9
Address review comments
Meinersbur Oct 17, 2024
68ed628
FLANGRT -> FLANG_RT
Meinersbur Nov 11, 2024
7a08438
Merge commit 'fa627d98e87504b6f6d621a7dab5d140340ed760^' into users/m…
Meinersbur Nov 15, 2024
9118d19
Merge branch 'users/meinersbur/flang_runtime_split-headers' into user…
Meinersbur Nov 15, 2024
02812d5
Merge branch 'users/meinersbur/flang_runtime_split-headers2' into use…
Meinersbur Nov 15, 2024
7cbde0c
Post-merge fixes
Meinersbur Nov 15, 2024
e4f9d08
Post-merge fixes
Meinersbur Nov 15, 2024
5ee3547
Merge branch 'users/meinersbur/flang_runtime_split-headers2' into use…
Meinersbur Nov 15, 2024
a62b33e
Merge commit 'fa627d98e87504b6f6d621a7dab5d140340ed760' into users/me…
Meinersbur Nov 15, 2024
752fdc3
Merge branch 'users/meinersbur/flang_runtime_split-headers' into user…
Meinersbur Nov 15, 2024
93c608f
Merge branch 'users/meinersbur/flang_runtime_split-headers2' into use…
Meinersbur Nov 15, 2024
49b22d8
Merge commit '06eb10dadfaeaadc5d0d95d38bea4bfb5253e077^' into users/m…
Meinersbur Nov 15, 2024
08db098
Merge branch 'users/meinersbur/flang_runtime_split-headers' into user…
Meinersbur Nov 15, 2024
dec720f
Merge branch 'users/meinersbur/flang_runtime_split-headers' into user…
Meinersbur Nov 15, 2024
e355aaf
LangOptions -> Support (not used by flang-rt)
Meinersbur Nov 15, 2024
aac2ab0
Update guards
Meinersbur Nov 15, 2024
4dc1b14
Merge commit '06eb10dadfaeaadc5d0d95d38bea4bfb5253e077' into users/me…
Meinersbur Nov 15, 2024
d918cd0
Merge branch 'users/meinersbur/flang_runtime_split-headers' into user…
Meinersbur Nov 15, 2024
f15847f
Merge branch 'users/meinersbur/flang_runtime_split-headers2' into use…
Meinersbur Nov 15, 2024
61c21b5
Post-merge fixes
Meinersbur Nov 15, 2024
2a97e4a
Merge branch 'main' into users/meinersbur/flang_runtime_split-headers
Meinersbur Nov 15, 2024
bf24912
Merge branch 'users/meinersbur/flang_runtime_split-headers' into user…
Meinersbur Nov 15, 2024
7caea4d
Merge branch 'users/meinersbur/flang_runtime_split-headers2' into use…
Meinersbur Nov 15, 2024
23da083
Post-merge fixes
Meinersbur Nov 15, 2024
4bf520d
Merge remote-tracking branch 'official/main' into users/meinersbur/fl…
Meinersbur Dec 5, 2024
df0e077
Merge branch 'users/meinersbur/flang_runtime_split-headers2' into use…
Meinersbur Dec 5, 2024
c9b1c29
io-api.h -> io-api-consts.h
Meinersbur Dec 5, 2024
bd392d2
io-api-funcs.h -> io-api.h
Meinersbur Dec 5, 2024
c4faf05
iostat.h -> iostat-consts.h
Meinersbur Dec 5, 2024
64bade3
iostat-funcs.h -> iostat.h
Meinersbur Dec 5, 2024
eda72ac
formatting
Meinersbur Dec 5, 2024
c704cf9
Merge commit 'c9b1c294dc55296da9fcea929b2ddadfe0091c53' into users/me…
Meinersbur Dec 5, 2024
a0e5ca9
Merge commit 'bd392d22ef084d32c5b82af1010d3a4591bda0f0' into users/me…
Meinersbur Dec 5, 2024
fe3a105
Post-merge fixes
Meinersbur Dec 5, 2024
45f1713
Merge commit 'c4faf0574a3cb4ec3ade2fa9b7e78125217b23d1' into users/me…
Meinersbur Dec 5, 2024
2fdf4e7
Merge commit '64bade38fd6a3e5c8c081bae92ce02f58cab799f' into users/me…
Meinersbur Dec 5, 2024
b71784c
Post-merge fixes
Meinersbur Dec 5, 2024
c11bca3
Merge branch 'users/meinersbur/flang_runtime_split-headers2' into use…
Meinersbur Dec 5, 2024
ea7fb0b
header update
Meinersbur Dec 5, 2024
9b486ea
Cleanup
Meinersbur Dec 5, 2024
a490313
Merge branch 'main' into users/meinersbur/flang_runtime_split-headers2
Meinersbur Dec 6, 2024
0c5ec72
Merge branch 'users/meinersbur/flang_runtime_split-headers2' into use…
Meinersbur Dec 6, 2024
d8ab489
Merge branch 'main' (early part) into users/meinersbur/flang_runtime_…
Meinersbur Dec 6, 2024
956a58c
Merge branch 'main' into users/meinersbur/flang_runtime_move-files
Meinersbur Dec 6, 2024
b19c39c
Merge commit 'd6ec7c82f383ae4268f350f4d2e267af45fae8c0' into users/me…
Meinersbur Dec 6, 2024
fc659c8
Post-merge fix
Meinersbur Dec 6, 2024
e13784f
Merge branch 'main' into users/meinersbur/flang_runtime_move-files
Meinersbur Dec 9, 2024
2f96a3c
Merge commit 'e8baa792e7db0b03a842448b5e85623da48a4367^' into users/m…
Meinersbur Dec 10, 2024
8d820e6
Merge commit 'e8baa792e7db0b03a842448b5e85623da48a4367' into users/me…
Meinersbur Dec 10, 2024
1eadf42
Merge branch 'main' into users/meinersbur/flang_runtime_move-files
Meinersbur Dec 10, 2024
ee0d85c
Merge branch 'main' into users/meinersbur/flang_runtime_move-files
Meinersbur Dec 10, 2024
e99f71a
Merge branch 'main' into users/meinersbur/flang_runtime_move-files
Meinersbur Dec 10, 2024
ca1d9d6
Merge branch 'main' into users/meinersbur/flang_runtime_move-files
Meinersbur Dec 11, 2024
d65a4bc
Merge branch 'main' into users/meinersbur/flang_runtime_move-files
Meinersbur Dec 11, 2024
de863e9
Merge branch 'main' into users/meinersbur/flang_runtime_move-files
Meinersbur Jan 6, 2025
909dca1
CufRuntime -> flang_rt/CUDA
Meinersbur Jan 6, 2025
ad03beb
Merge branch 'main' into users/meinersbur/flang_runtime_move-files
Meinersbur Jan 6, 2025
c8532cc
restore memmove-function.cpp
Meinersbur Jan 6, 2025
ae7cc78
Merge branch 'main' into users/meinersbur/flang_runtime_move-files
Meinersbur Jan 6, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
21 changes: 21 additions & 0 deletions flang-rt/.clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
# See: https://clang.llvm.org/docs/ClangFormatStyleOptions.html
BasedOnStyle: LLVM
AlignAfterOpenBracket: DontAlign
AlignEscapedNewlines: DontAlign
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AlignOperands: false
AlignTrailingComments: false
IncludeCategories:
- Regex: '^<'
Priority: 4
- Regex: '^"(llvm|llvm-c|clang|clang-c)/'
Priority: 3
- Regex: '^"(flang|\.\.)/'
Priority: 2
- Regex: '.*'
Priority: 1
...

# vim:set filetype=yaml:
19 changes: 19 additions & 0 deletions flang-rt/cmake/config.h.cmake.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/*===-- cmake/config.cmake.in ---------------------------------------*- C -*-===
*
* Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
* See https://llvm.org/LICENSE.txt for license information.
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
*
*===----------------------------------------------------------------------===*/

#ifndef FORTRAN_RUNTIME_CONFIG_H
#define FORTRAN_RUNTIME_CONFIG_H

/* Define to 1 if you have the `strerror_r' function. */
#cmakedefine01 HAVE_STRERROR_R

/* Define to 1 if you have the declaration of `strerror_s', and to 0 if you
don't. */
#cmakedefine01 HAVE_DECL_STRERROR_S

#endif
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
//===-- include/flang/Runtime/CUDA/allocator.h ------------------*- C++ -*-===//
//===-- include/flang-rt/CUDA/allocator.h -----------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#ifndef FORTRAN_RUNTIME_CUDA_ALLOCATOR_H_
#define FORTRAN_RUNTIME_CUDA_ALLOCATOR_H_
#ifndef FLANG_RT_CUDA_ALLOCATOR_H_
#define FLANG_RT_CUDA_ALLOCATOR_H_

#include "flang/Runtime/descriptor.h"
#include "flang/Runtime/descriptor-consts.h"
#include "flang/Runtime/entry-names.h"

namespace Fortran::runtime::cuda {
Expand All @@ -32,4 +32,4 @@ void *CUFAllocUnified(std::size_t);
void CUFFreeUnified(void *);

} // namespace Fortran::runtime::cuda
#endif // FORTRAN_RUNTIME_CUDA_ALLOCATOR_H_
#endif /* FLANG_RT_CUDA_ALLOCATOR_H_ */
Original file line number Diff line number Diff line change
@@ -1,26 +1,19 @@
//===-- runtime/allocator-registry.h ----------------------------*- C++ -*-===//
//===-- include/flang-rt/allocator-registry.h -------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#ifndef FORTRAN_RUNTIME_ALLOCATOR_REGISTRY_H_
#define FORTRAN_RUNTIME_ALLOCATOR_REGISTRY_H_
#ifndef FLANG_RT_ALLOCATOR_REGISTRY_H_
#define FLANG_RT_ALLOCATOR_REGISTRY_H_

#include "flang/Common/api-attrs.h"
#include "flang/Runtime/allocator-registry-consts.h"
#include <cstdlib>
#include <vector>

static constexpr unsigned kDefaultAllocator = 0;

// Allocator used for CUF
static constexpr unsigned kPinnedAllocatorPos = 1;
static constexpr unsigned kDeviceAllocatorPos = 2;
static constexpr unsigned kManagedAllocatorPos = 3;
static constexpr unsigned kUnifiedAllocatorPos = 4;

#define MAX_ALLOCATOR 7 // 3 bits are reserved in the descriptor.

namespace Fortran::runtime {
Expand Down Expand Up @@ -62,4 +55,4 @@ RT_OFFLOAD_VAR_GROUP_END

} // namespace Fortran::runtime

#endif // FORTRAN_RUNTIME_ALLOCATOR_REGISTRY_H_
#endif /* FLANG_RT_ALLOCATOR_REGISTRY_H_ */
48 changes: 48 additions & 0 deletions flang-rt/include/flang-rt/array-constructor.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
//===-- include/flang-rt/array-constructor.h --------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

// External APIs to create temporary storage for array constructors when their
// final extents or length parameters cannot be pre-computed.

#ifndef FLANG_RT_ARRAY_CONSTRUCTOR_H_
#define FLANG_RT_ARRAY_CONSTRUCTOR_H_

#include "flang-rt/descriptor.h"
#include "flang/Runtime/array-constructor-consts.h"
#include "flang/Runtime/entry-names.h"
#include <cstdint>

namespace Fortran::runtime {

// Runtime data structure to hold information about the storage of
// an array constructor being constructed.
struct ArrayConstructorVector {
RT_API_ATTRS ArrayConstructorVector(class Descriptor &to,
SubscriptValue nextValuePosition, SubscriptValue actualAllocationSize,
const char *sourceFile, int sourceLine, bool useValueLengthParameters)
: to{to}, nextValuePosition{nextValuePosition},
actualAllocationSize{actualAllocationSize}, sourceFile{sourceFile},
sourceLine{sourceLine},
useValueLengthParameters_{useValueLengthParameters} {}

RT_API_ATTRS bool useValueLengthParameters() const {
return useValueLengthParameters_;
}

class Descriptor &to;
SubscriptValue nextValuePosition;
SubscriptValue actualAllocationSize;
const char *sourceFile;
int sourceLine;

private:
unsigned char useValueLengthParameters_ : 1;
};

} // namespace Fortran::runtime
#endif /* FLANG_RT_ARRAY_CONSTRUCTOR_H_ */
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
//===-- include/flang/Runtime/descriptor.h ----------------------*- C++ -*-===//
//===-- include/flang-rt/descriptor.h ---------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#ifndef FORTRAN_RUNTIME_DESCRIPTOR_H_
#define FORTRAN_RUNTIME_DESCRIPTOR_H_
#ifndef FLANG_RT_DESCRIPTOR_H_
#define FLANG_RT_DESCRIPTOR_H_

// Defines data structures used during execution of a Fortran program
// to implement nontrivial dummy arguments, pointers, allocatables,
Expand All @@ -18,24 +18,19 @@
// User C code is welcome to depend on that ISO_Fortran_binding.h file,
// but should never reference this internal header.

#include "flang/ISO_Fortran_binding_wrapper.h"
#include "flang/Runtime/memory.h"
#include "flang/Runtime/type-code.h"
#include "flang-rt/memory.h"
#include "flang-rt/type-code.h"
#include "flang/Common/ISO_Fortran_binding_wrapper.h"
#include "flang/Runtime/descriptor-consts.h"
#include <algorithm>
#include <cassert>
#include <cinttypes>
#include <cstddef>
#include <cstdio>
#include <cstring>

namespace Fortran::runtime::typeInfo {
using TypeParameterValue = std::int64_t;
class DerivedType;
} // namespace Fortran::runtime::typeInfo

namespace Fortran::runtime {

using SubscriptValue = ISO::CFI_index_t;
class Terminator;

RT_VAR_GROUP_BEGIN
Expand Down Expand Up @@ -420,13 +415,6 @@ class Descriptor {

void Dump(FILE * = stdout) const;

// Value of the addendum presence flag.
#define _CFI_ADDENDUM_FLAG 1
// Number of bits needed to be shifted when manipulating the allocator index.
#define _CFI_ALLOCATOR_IDX_SHIFT 1
// Allocator index mask.
#define _CFI_ALLOCATOR_IDX_MASK 0b00001110

RT_API_ATTRS inline bool HasAddendum() const {
return raw_.extra & _CFI_ADDENDUM_FLAG;
}
Expand Down Expand Up @@ -464,6 +452,8 @@ class alignas(Descriptor) StaticDescriptor {
static constexpr bool hasAddendum{ADDENDUM || MAX_LEN_PARMS > 0};
static constexpr std::size_t byteSize{
Descriptor::SizeInBytes(maxRank, hasAddendum, maxLengthTypeParameters)};
static_assert(byteSize <=
MaxDescriptorSizeInBytes(maxRank, hasAddendum, maxLengthTypeParameters));
RT_OFFLOAD_VAR_GROUP_END

RT_API_ATTRS Descriptor &descriptor() {
Expand Down Expand Up @@ -492,4 +482,4 @@ class alignas(Descriptor) StaticDescriptor {
};

} // namespace Fortran::runtime
#endif // FORTRAN_RUNTIME_DESCRIPTOR_H_
#endif /* FLANG_RT_DESCRIPTOR_H_ */
39 changes: 39 additions & 0 deletions flang-rt/include/flang-rt/io-api-funcs.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
//===-- include/flang-rt/io-api-funcs.h -------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

// Defines API between compiled code and I/O runtime library.

#ifndef FLANG_RT_IO_API_FUNCS_H_
#define FLANG_RT_IO_API_FUNCS_H_

#include "flang/Common/uint128.h"
#include "flang/Runtime/entry-names.h"
#include "flang/Runtime/io-api.h"
#include "flang/Runtime/iostat.h"
#include "flang/Runtime/magic-numbers.h"
#include <cinttypes>
#include <cstddef>

namespace Fortran::runtime {
class Descriptor;
} // namespace Fortran::runtime

namespace Fortran::runtime::io {

struct NonTbpDefinedIoTable;
class NamelistGroup;
class IoStatementState;
using Cookie = IoStatementState *;
using ExternalUnit = int;
using AsynchronousId = int;

RT_API_ATTRS const char *InquiryKeywordHashDecode(
char *buffer, std::size_t, InquiryKeywordHash);

} // namespace Fortran::runtime::io
#endif /* FLANG_RT_IO_API_FUNCS_H_ */
23 changes: 23 additions & 0 deletions flang-rt/include/flang-rt/iostat-funcs.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
//===-- include/flang-rt/iostat-funcs.h -------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

// Defines the values returned by the runtime for IOSTAT= specifiers
// on I/O statements.

#ifndef FLANG_RT_IOSTAT_FUNCS_H_
#define FLANG_RT_IOSTAT_FUNCS_H_

#include "flang/Common/api-attrs.h"
#include "flang/Runtime/iostat.h"

namespace Fortran::runtime::io {

RT_API_ATTRS const char *IostatErrorString(int);

} // namespace Fortran::runtime::io
#endif /* FLANG_RT_IOSTAT_FUNCS_H_ */
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//===-- include/flang/Runtime/memory.h --------------------------*- C++ -*-===//
//===-- include/flang-rt/memory.h -------------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
Expand All @@ -9,8 +9,8 @@
// Thin wrapper around malloc()/free() to isolate the dependency,
// ease porting, and provide an owning pointer.

#ifndef FORTRAN_RUNTIME_MEMORY_H_
#define FORTRAN_RUNTIME_MEMORY_H_
#ifndef FLANG_RT_MEMORY_H_
#define FLANG_RT_MEMORY_H_

#include "flang/Common/api-attrs.h"
#include <cassert>
Expand Down Expand Up @@ -170,4 +170,4 @@ template <typename A> struct Allocator {
};
} // namespace Fortran::runtime

#endif // FORTRAN_RUNTIME_MEMORY_H_
#endif /* FLANG_RT_MEMORY_H_ */
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
//===-- include/flang/Runtime/type-code.h -----------------------*- C++ -*-===//
//===-- include/flang-rt/type-code.h ----------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#ifndef FORTRAN_RUNTIME_TYPE_CODE_H_
#define FORTRAN_RUNTIME_TYPE_CODE_H_
#ifndef FLANG_RT_TYPE_CODE_H_
#define FLANG_RT_TYPE_CODE_H_

#include "flang/Common/Fortran.h"
#include "flang/Common/Fortran-consts.h"
#include "flang/Common/ISO_Fortran_binding_wrapper.h"
#include "flang/Common/optional.h"
#include "flang/ISO_Fortran_binding_wrapper.h"
#include <utility>

namespace Fortran::runtime {
Expand Down Expand Up @@ -75,4 +75,4 @@ class TypeCode {
ISO::CFI_type_t raw_{CFI_type_other};
};
} // namespace Fortran::runtime
#endif // FORTRAN_RUNTIME_TYPE_CODE_H_
#endif /* FLANG_RT_TYPE_CODE_H_ */
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#===-- runtime/CUDA/CMakeLists.txt -----------------------------------------===#
#===-- lib/CufRuntime/CMakeLists.txt ---------------------------------------===#
#
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please keep CUDA as it is done for the include dir.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I still see the wrong directory name here. include is include/flang-rt/CUDA so like should be lib/CUDA

# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//===-- runtime/CUDA/allocatable.cpp --------------------------------------===//
//===-- lib/CufRuntime/allocatable.cpp --------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//===-- runtime/CUDA/allocator.cpp ----------------------------------------===//
//===-- lib/CufRuntime/allocator.cpp ----------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//===-- runtime/CUDA/descriptor.cpp ---------------------------------------===//
//===-- lib/CufRuntime/descriptor.cpp ---------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//===-- runtime/CUDA/kernel.cpp -------------------------------------------===//
//===-- lib/CufRuntime/kernel.cpp -------------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//===-- runtime/CUDA/memory.cpp -------------------------------------------===//
//===-- lib/CufRuntime/memory.cpp -------------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//===-- runtime/CUDA/registration.cpp -------------------------------------===//
//===-- lib/CufRuntime/registration.cpp -------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#===-- runtime/Float128Math/CMakeLists.txt ---------------------------------===#
#===-- lib/FortranFloat128Math/CMakeLists.txt ------------------------------===#
#
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//===-- runtime/Float128Math/acos.cpp -------------------------------------===//
//===-- lib/FortranFloat128Math/acos.cpp ------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
Expand Down
Loading
Loading