Skip to content

Commit aa2a779

Browse files
committed
Merge branch 'users/meinersbur/flang_runtime_move-files' into users/meinersbur/flang_runtime
2 parents c7f8098 + 8b91f2f commit aa2a779

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

flang-rt/lib/cuda/allocator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
#include "flang-rt/cuda/allocator.h"
9+
#include "flang/Runtime/CUDA/allocator.h"
1010
#include "flang-rt/runtime/allocator-registry.h"
1111
#include "flang-rt/runtime/derived.h"
1212
#include "flang-rt/runtime/stat.h"

flang-rt/lib/cuda/descriptor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
//===----------------------------------------------------------------------===//
88

99
#include "flang/Runtime/CUDA/descriptor.h"
10-
#include "flang-rt/cuda/allocator.h"
1110
#include "flang-rt/runtime/descriptor.h"
1211
#include "flang-rt/runtime/terminator.h"
12+
#include "flang/Runtime/CUDA/allocator.h"
1313
#include "flang/Runtime/CUDA/common.h"
1414

1515
#include "cuda_runtime.h"

flang-rt/unittests/Runtime/CUDA/Allocatable.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
#include "flang/Runtime/allocatable.h"
1010
#include "cuda_runtime.h"
1111
#include "gtest/gtest.h"
12-
#include "flang-rt/cuda/allocator.h"
1312
#include "flang-rt/runtime/allocator-registry.h"
1413
#include "flang-rt/runtime/descriptor.h"
1514
#include "flang-rt/runtime/terminator.h"
15+
#include "flang/Runtime/CUDA/allocator.h"
1616
#include "flang/Runtime/CUDA/common.h"
1717
#include "flang/Runtime/CUDA/descriptor.h"
1818
#include "flang/Support/Fortran.h"

flang-rt/unittests/Runtime/CUDA/AllocatorCUF.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88

99
#include "cuda_runtime.h"
1010
#include "gtest/gtest.h"
11-
#include "flang-rt/cuda/allocator.h"
1211
#include "flang-rt/runtime/allocator-registry.h"
1312
#include "flang-rt/runtime/descriptor.h"
1413
#include "flang-rt/runtime/terminator.h"
14+
#include "flang/Runtime/CUDA/allocator.h"
1515
#include "flang/Runtime/CUDA/descriptor.h"
1616
#include "flang/Runtime/allocatable.h"
1717
#include "flang/Support/Fortran.h"

flang-rt/unittests/Runtime/CUDA/Memory.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
#include "cuda_runtime.h"
1111
#include "../tools.h"
1212
#include "gtest/gtest.h"
13-
#include "flang-rt/cuda/allocator.h"
1413
#include "flang-rt/runtime/allocator-registry.h"
1514
#include "flang-rt/runtime/terminator.h"
15+
#include "flang/Runtime/CUDA/allocator.h"
1616
#include "flang/Runtime/CUDA/common.h"
1717
#include "flang/Runtime/CUDA/descriptor.h"
1818
#include "flang/Runtime/allocatable.h"

flang-rt/include/flang-rt/CUDA/allocator.h renamed to flang/include/flang/Runtime/CUDA/allocator.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
//===-- include/flang-rt/cuda/allocator.h -----------------------*- C++ -*-===//
1+
//===-- include/flang/Runtime/CUDA/allocator.h ------------------*- 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.
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===----------------------------------------------------------------------===//
88

9-
#ifndef FLANG_RT_CUDA_ALLOCATOR_H_
10-
#define FLANG_RT_CUDA_ALLOCATOR_H_
9+
#ifndef FORTRAN_RUNTIME_CUDA_ALLOCATOR_H_
10+
#define FORTRAN_RUNTIME_CUDA_ALLOCATOR_H_
1111

12-
#include "flang/Runtime/CUDA/common.h"
12+
#include "common.h"
1313
#include "flang/Runtime/descriptor-consts.h"
1414
#include "flang/Runtime/entry-names.h"
1515

@@ -33,4 +33,4 @@ void *CUFAllocUnified(std::size_t);
3333
void CUFFreeUnified(void *);
3434

3535
} // namespace Fortran::runtime::cuda
36-
#endif // FLANG_RT_CUDA_ALLOCATOR_H_
36+
#endif // FORTRAN_RUNTIME_CUDA_ALLOCATOR_H_

0 commit comments

Comments
 (0)