[flang-commits] [flang] [llvm] [flang][cuda] Add support for cudaStreamDestroy (PR #183648)

Slava Zakharin via flang-commits flang-commits at lists.llvm.org
Thu Feb 26 16:02:59 PST 2026


================
@@ -37,6 +38,11 @@ int RTDECL(CUFStreamSynchronize)(cudaStream_t stream) {
 int RTDECL(CUFStreamSynchronizeNull)() {
   return cudaStreamSynchronize(RTNAME(CUFGetDefaultStream)());
 }
+
+int RTDECL(CUFStreamDestroy)(cudaStream_t stream) {
----------------
vzakhari wrote:

Please also fix other instances in this file. We should use `RTDEF` for definitions.
```suggestion
int RTDEF(CUFStreamDestroy)(cudaStream_t stream) {
```

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


More information about the flang-commits mailing list