Skip to content

Commit bfb04b6

Browse files
committed
Merge branch 'users/meinersbur/flang_runtime' into users/meinersbur/flang_runtime_shared
2 parents 8eb7311 + fbd087c commit bfb04b6

File tree

8 files changed

+20
-20
lines changed

8 files changed

+20
-20
lines changed

flang-rt/lib/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ add_subdirectory(FortranFloat128Math)
1010
add_subdirectory(flang_rt)
1111

1212
if (FLANG_RT_ENABLE_CUF)
13-
add_subdirectory(CufRuntime)
13+
add_subdirectory(flang_rt/CUDA)
1414
endif()
1515

1616
if (FLANG_RT_INCLUDE_TESTS)

flang-rt/lib/CufRuntime/CMakeLists.txt renamed to flang-rt/lib/flang_rt/CUDA/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#===-- lib/CufRuntime/CMakeLists.txt ---------------------------------------===#
1+
#===-- lib/flang_rt/CUDA/CMakeLists.txt ------------------------------------===#
22
#
33
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
# See https://llvm.org/LICENSE.txt for license information.

flang-rt/lib/CufRuntime/allocatable.cpp renamed to flang-rt/lib/flang_rt/CUDA/allocatable.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===-- lib/CufRuntime/allocatable.cpp --------------------------*- C++ -*-===//
1+
//===-- lib/flang_rt/CUDA/allocatable.cpp -----------------------*- C++ -*-===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.
@@ -8,9 +8,9 @@
88

99
#include "flang/Runtime/CUDA/allocatable.h"
1010
#include "flang-rt/descriptor.h"
11-
#include "../flang_rt/assign-impl.h"
12-
#include "../flang_rt/stat.h"
13-
#include "../flang_rt/terminator.h"
11+
#include "../assign-impl.h"
12+
#include "../stat.h"
13+
#include "../terminator.h"
1414
#include "flang/Runtime/CUDA/common.h"
1515
#include "flang/Runtime/CUDA/descriptor.h"
1616
#include "flang/Runtime/CUDA/memmove-function.h"

flang-rt/lib/CufRuntime/allocator.cpp renamed to flang-rt/lib/flang_rt/CUDA/allocator.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===-- lib/CufRuntime/allocator.cpp ----------------------------*- C++ -*-===//
1+
//===-- lib/flang_rt/CUDA/allocator.cpp -------------------------*- C++ -*-===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.
@@ -8,10 +8,10 @@
88

99
#include "flang-rt/CUDA/allocator.h"
1010
#include "flang-rt/allocator-registry.h"
11-
#include "../flang_rt/derived.h"
12-
#include "../flang_rt/stat.h"
13-
#include "../flang_rt/terminator.h"
14-
#include "../flang_rt/type-info.h"
11+
#include "../derived.h"
12+
#include "../stat.h"
13+
#include "../terminator.h"
14+
#include "../type-info.h"
1515
#include "flang/Common/ISO_Fortran_binding_wrapper.h"
1616
#include "flang/Runtime/CUDA/common.h"
1717
#include "flang/Support/Fortran.h"

flang-rt/lib/CufRuntime/descriptor.cpp renamed to flang-rt/lib/flang_rt/CUDA/descriptor.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===-- lib/CufRuntime/descriptor.cpp ---------------------------*- C++ -*-===//
1+
//===-- lib/flang_rt/CUDA/descriptor.cpp ------------------------*- C++ -*-===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.
@@ -9,7 +9,7 @@
99
#include "flang/Runtime/CUDA/descriptor.h"
1010
#include "flang-rt/CUDA/allocator.h"
1111
#include "flang-rt/descriptor.h"
12-
#include "../flang_rt/terminator.h"
12+
#include "../terminator.h"
1313
#include "flang/Runtime/CUDA/common.h"
1414

1515
#include "cuda_runtime.h"

flang-rt/lib/CufRuntime/kernel.cpp renamed to flang-rt/lib/flang_rt/CUDA/kernel.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===-- lib/CufRuntime/kernel.cpp -------------------------------*- C++ -*-===//
1+
//===-- lib/flang_rt/CUDA/kernel.cpp ----------------------------*- C++ -*-===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.
@@ -7,7 +7,7 @@
77
//===----------------------------------------------------------------------===//
88

99
#include "flang/Runtime/CUDA/kernel.h"
10-
#include "../flang_rt/terminator.h"
10+
#include "../terminator.h"
1111
#include "flang/Runtime/CUDA/common.h"
1212

1313
#include "cuda_runtime.h"

flang-rt/lib/CufRuntime/memory.cpp renamed to flang-rt/lib/flang_rt/CUDA/memory.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===-- lib/CufRuntime/memory.cpp -------------------------------*- C++ -*-===//
1+
//===-- lib/flang_rt/CUDA/memory.cpp ----------------------------*- C++ -*-===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.
@@ -7,8 +7,8 @@
77
//===----------------------------------------------------------------------===//
88

99
#include "flang/Runtime/CUDA/memory.h"
10-
#include "../flang_rt/assign-impl.h"
11-
#include "../flang_rt/terminator.h"
10+
#include "../assign-impl.h"
11+
#include "../terminator.h"
1212
#include "flang/Runtime/CUDA/common.h"
1313
#include "flang/Runtime/CUDA/descriptor.h"
1414
#include "flang/Runtime/CUDA/memmove-function.h"

flang-rt/lib/CufRuntime/registration.cpp renamed to flang-rt/lib/flang_rt/CUDA/registration.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===-- lib/CufRuntime/registration.cpp -------------------------*- C++ -*-===//
1+
//===-- lib/flang_rt/CUDA/registration.cpp ----------------------*- C++ -*-===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.
@@ -7,7 +7,7 @@
77
//===----------------------------------------------------------------------===//
88

99
#include "flang/Runtime/CUDA/registration.h"
10-
#include "../flang_rt/terminator.h"
10+
#include "../terminator.h"
1111
#include "flang/Runtime/CUDA/common.h"
1212

1313
#include "cuda_runtime.h"

0 commit comments

Comments
 (0)