Skip to content

Commit d6ec7c8

Browse files
authored
[flang][CUF] fix missing header after #112188 (#118993)
Otherwise, builds with `-DFLANG_CUF_RUNTIME` hits: ``` runtime/CUDA/descriptor.cpp:44:24: error: invalid use of incomplete type 'const class Fortran::runtime::Descriptor' 44 | std::size_t count{src->SizeInBytes()}; ```
1 parent e68a3e4 commit d6ec7c8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

flang/runtime/CUDA/descriptor.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
#include "../terminator.h"
1111
#include "flang/Runtime/CUDA/allocator.h"
1212
#include "flang/Runtime/CUDA/common.h"
13+
#include "flang/Runtime/descriptor.h"
1314

1415
#include "cuda_runtime.h"
1516

0 commit comments

Comments
 (0)