[flang-commits] [flang] [flang][cuda] Implicitly load cudadevice module in device/global subprogram (PR #91668)

Valentin Clement バレンタイン クレメン via flang-commits flang-commits at lists.llvm.org
Thu May 9 17:24:21 PDT 2024


================
@@ -0,0 +1,74 @@
+!===-- module/__cuda_device_builtins.f90 -----------------------------------===!
----------------
clementval wrote:

The reason I added a new file is that we can check on the module name instead of having to check on the module name and the procedure prefix. 
I can moved them in __fortran_builtins but we would need to check if the procedure names starts with `__cuda_device_builtins_` as well.  

https://github.com/llvm/llvm-project/pull/91668


More information about the flang-commits mailing list