We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fb1dea commit fee71dbCopy full SHA for fee71db
flang-rt/lib/runtime/CMakeLists.txt
@@ -113,7 +113,7 @@ if (LLVM_TARGET_TRIPLE MATCHES "^ppc|^powerpc")
113
)
114
endif ()
115
116
-list(APPEND supported_sources
+list(APPEND host_sources
117
__cuda_device.f90
118
cooperative_groups.f90
119
cudadevice.f90
@@ -216,7 +216,7 @@ endif ()
216
if (LLVM_RUNTIMES_TARGET MATCHES "^amdgcn|^nvptx")
217
set(sources ${gpu_sources})
218
elseif(FLANG_RT_EXPERIMENTAL_OFFLOAD_SUPPORT STREQUAL "CUDA")
219
- set(sources ${supported_sources})
+ set(sources ${supported_sources} ${host_sources})
220
else ()
221
set(sources ${supported_sources} ${host_sources} ${f128_sources})
222
0 commit comments