[flang-commits] [flang] [flang][runtime] Added Assign runtime to CUDA build closure. (PR #68171)

Razvan Lupusoru via flang-commits flang-commits at lists.llvm.org
Tue Oct 3 18:34:28 PDT 2023


================
@@ -54,6 +54,15 @@
 #define RT_OFFLOAD_API_GROUP_BEGIN RT_EXT_API_GROUP_BEGIN
 #define RT_OFFLOAD_API_GROUP_END RT_EXT_API_GROUP_END
 
+/*
+ * RT_OFFLOAD_VAR_GROUP_BEGIN/END pair is placed around definitions
+ * of variables (e.g. globals or static class members) that can be
+ * referenced in functions marked with RT_OFFLOAD_API_GROUP_BEGIN/END.
+ * For OpenMP offload these variables are made "declare target".
----------------
razvanlupusoru wrote:

comma needed after `offload`

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


More information about the flang-commits mailing list