================
@@ -79,4 +79,27 @@ def CIR_CUDAVarRegistrationInfoAttr : 
CIR_Attr<"CUDAVarRegistrationInfo", "cu.va
   let hasCustomAssemblyFormat = 1;
 }
 
+//===----------------------------------------------------------------------===//
+// CUDAOffloadEntryAttr
+//===----------------------------------------------------------------------===//
+
+def CIR_CUDAOffloadEntryAttr : CIR_Attr<"CUDAOffloadEntry", 
"cu.offload_entry"> {
+  let summary = "Offloading entry for a kernel or device variable.";
+  let description = [{
+    The arguments of `llvm::offloading::emitOffloadingEntry`, which emits the
+    entry during translation to LLVM IR. Used for -fgpu-rdc.
----------------
aobolensk wrote:

Done

https://github.com/llvm/llvm-project/pull/241233
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to