[all-commits] [llvm/llvm-project] 0b328b: [Flang-RT] Make __cuda_builtins dependency explici...

Michael Kruse via All-commits all-commits at lists.llvm.org
Thu Jun 25 12:48:15 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0b328bc6a50becb35ebfb158dd3de69bd32c5563
      https://github.com/llvm/llvm-project/commit/0b328bc6a50becb35ebfb158dd3de69bd32c5563
  Author: Michael Kruse <llvm-project at meinersbur.de>
  Date:   2026-06-25 (Thu, 25 Jun 2026)

  Changed paths:
    M flang-rt/lib/runtime/__cuda_device.f90
    M flang-rt/lib/runtime/cuda_runtime_api.f90

  Log Message:
  -----------
  [Flang-RT] Make __cuda_builtins dependency explicit (#205895)

When compiling CUDA-Fortran, a use of the module __cuda_builtins is
added implicitly by the compiler. Add explicit use so CMake can consider
it in the built order. The other modules that are compiled with CUDA
enabled (`cudadevice.f90` and `cooperativegroups.f90`) transitively
depend on depend on __cuda_builtins as well.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list