[flang] [llvm] [flang][cuda] Lower set/get default stream for arrays (PR #181432)

Valentin Clement バレンタイン クレメン via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 13 14:50:26 PST 2026


================
@@ -51,6 +51,12 @@ struct CUDAIntrinsicLibrary : IntrinsicLibrary {
   mlir::Value genBarrierTryWaitSleep(mlir::Type, llvm::ArrayRef<mlir::Value>);
   mlir::Value genClusterBlockIndex(mlir::Type, llvm::ArrayRef<mlir::Value>);
   mlir::Value genClusterDimBlocks(mlir::Type, llvm::ArrayRef<mlir::Value>);
+  fir::ExtendedValue
+      genCUDAForSetDefaultStreamArray(mlir::Type,
+                                      llvm::ArrayRef<fir::ExtendedValue>);
+  fir::ExtendedValue
+      genCUDAGetDefaultStreamArg(mlir::Type,
----------------
clementval wrote:

I actually remove the For from the other one because the specific function doesn't have it. 

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


More information about the llvm-commits mailing list