Skip to content

Commit 27cd98e

Browse files
committed
Remove namespace
1 parent 6efce45 commit 27cd98e

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

flang/include/flang/Runtime/CUDA/kernel.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313
#include <cstddef>
1414
#include <stdint.h>
1515

16-
namespace Fortran::runtime::cuda {
17-
1816
extern "C" {
1917

2018
// This function uses intptr_t instead of CUDA's unsigned int to match
@@ -26,6 +24,4 @@ void RTDEF(CUFLaunchKernel)(const void *kernelName, intptr_t gridX,
2624

2725
} // extern "C"
2826

29-
} // namespace Fortran::runtime::cuda
30-
3127
#endif // FORTRAN_RUNTIME_CUDA_KERNEL_H_

flang/runtime/CUDA/kernel.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212

1313
#include "cuda_runtime.h"
1414

15-
namespace Fortran::runtime::cuda {
16-
1715
extern "C" {
1816

1917
void RTDEF(CUFLaunchKernel)(const void *kernel, intptr_t gridX, intptr_t gridY,
@@ -33,5 +31,3 @@ void RTDEF(CUFLaunchKernel)(const void *kernel, intptr_t gridX, intptr_t gridY,
3331
}
3432

3533
} // extern "C"
36-
37-
} // namespace Fortran::runtime::cuda

0 commit comments

Comments
 (0)