[flang-commits] [flang] [flang][runtime] Added Assign runtime to CUDA build closure. (PR #68171)
Slava Zakharin via flang-commits
flang-commits at lists.llvm.org
Tue Oct 3 21:25:48 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".
----------------
vzakhari wrote:
Thank you for the review!
https://github.com/llvm/llvm-project/pull/68171
More information about the flang-commits
mailing list