|
81 | 81 | #[cfg(feature = "host")]
|
82 | 82 | fn with_new_async<'stream, 'b, O, E: From<rustacuda::error::CudaError>>(
|
83 | 83 | param: Self::SyncHostType,
|
84 |
| - _stream: &'stream crate::host::Stream, |
| 84 | + _stream: crate::host::Stream<'stream>, |
85 | 85 | inner: impl super::WithNewAsync<'stream, Self, O, E>,
|
86 | 86 | ) -> Result<O, E>
|
87 | 87 | where
|
@@ -167,7 +167,7 @@ impl<
|
167 | 167 | #[cfg(feature = "host")]
|
168 | 168 | fn with_new_async<'stream, 'b, O, E: From<rustacuda::error::CudaError>>(
|
169 | 169 | param: Self::SyncHostType,
|
170 |
| - stream: &'stream crate::host::Stream, |
| 170 | + stream: crate::host::Stream<'stream>, |
171 | 171 | inner: impl super::WithNewAsync<'stream, Self, O, E>,
|
172 | 172 | ) -> Result<O, E>
|
173 | 173 | where
|
@@ -251,7 +251,7 @@ impl<
|
251 | 251 | #[cfg(feature = "host")]
|
252 | 252 | fn with_new_async<'stream, 'b, O, E: From<rustacuda::error::CudaError>>(
|
253 | 253 | param: Self::SyncHostType,
|
254 |
| - stream: &'stream crate::host::Stream, |
| 254 | + stream: crate::host::Stream<'stream>, |
255 | 255 | inner: impl super::WithNewAsync<'stream, Self, O, E>,
|
256 | 256 | ) -> Result<O, E>
|
257 | 257 | where
|
@@ -373,7 +373,7 @@ impl<
|
373 | 373 | #[cfg(feature = "host")]
|
374 | 374 | fn with_new_async<'stream, 'b, O, E: From<rustacuda::error::CudaError>>(
|
375 | 375 | param: Self::SyncHostType,
|
376 |
| - stream: &'stream crate::host::Stream, |
| 376 | + stream: crate::host::Stream<'stream>, |
377 | 377 | inner: impl super::WithNewAsync<'stream, Self, O, E>,
|
378 | 378 | ) -> Result<O, E>
|
379 | 379 | where
|
@@ -509,7 +509,7 @@ impl<
|
509 | 509 | #[cfg(feature = "host")]
|
510 | 510 | fn with_new_async<'stream, 'b, O, E: From<rustacuda::error::CudaError>>(
|
511 | 511 | param: Self::SyncHostType,
|
512 |
| - stream: &'stream crate::host::Stream, |
| 512 | + stream: crate::host::Stream<'stream>, |
513 | 513 | inner: impl super::WithNewAsync<'stream, Self, O, E>,
|
514 | 514 | ) -> Result<O, E>
|
515 | 515 | where
|
@@ -595,7 +595,7 @@ impl<'a, T: Sync + RustToCuda> CudaKernelParameter for &'a DeepPerThreadBorrow<T
|
595 | 595 | #[cfg(feature = "host")]
|
596 | 596 | fn with_new_async<'stream, 'b, O, E: From<rustacuda::error::CudaError>>(
|
597 | 597 | param: Self::SyncHostType,
|
598 |
| - stream: &'stream crate::host::Stream, |
| 598 | + stream: crate::host::Stream<'stream>, |
599 | 599 | inner: impl super::WithNewAsync<'stream, Self, O, E>,
|
600 | 600 | ) -> Result<O, E>
|
601 | 601 | where
|
@@ -678,7 +678,7 @@ impl<'a, T: Sync + RustToCuda + SafeMutableAliasing> CudaKernelParameter
|
678 | 678 | #[cfg(feature = "host")]
|
679 | 679 | fn with_new_async<'stream, 'b, O, E: From<rustacuda::error::CudaError>>(
|
680 | 680 | param: Self::SyncHostType,
|
681 |
| - stream: &'stream crate::host::Stream, |
| 681 | + stream: crate::host::Stream<'stream>, |
682 | 682 | inner: impl super::WithNewAsync<'stream, Self, O, E>,
|
683 | 683 | ) -> Result<O, E>
|
684 | 684 | where
|
@@ -768,7 +768,7 @@ impl<
|
768 | 768 | #[cfg(feature = "host")]
|
769 | 769 | fn with_new_async<'stream, 'b, O, E: From<rustacuda::error::CudaError>>(
|
770 | 770 | param: Self::SyncHostType,
|
771 |
| - stream: &'stream crate::host::Stream, |
| 771 | + stream: crate::host::Stream<'stream>, |
772 | 772 | inner: impl super::WithNewAsync<'stream, Self, O, E>,
|
773 | 773 | ) -> Result<O, E>
|
774 | 774 | where
|
@@ -851,7 +851,7 @@ impl<'a, T: Sync + RustToCuda> CudaKernelParameter for &'a PtxJit<DeepPerThreadB
|
851 | 851 | #[cfg(feature = "host")]
|
852 | 852 | fn with_new_async<'stream, 'b, O, E: From<rustacuda::error::CudaError>>(
|
853 | 853 | param: Self::SyncHostType,
|
854 |
| - stream: &'stream crate::host::Stream, |
| 854 | + stream: crate::host::Stream<'stream>, |
855 | 855 | inner: impl super::WithNewAsync<'stream, Self, O, E>,
|
856 | 856 | ) -> Result<O, E>
|
857 | 857 | where
|
@@ -932,7 +932,7 @@ impl<'a, T: Sync + RustToCuda + SafeMutableAliasing> CudaKernelParameter
|
932 | 932 | #[cfg(feature = "host")]
|
933 | 933 | fn with_new_async<'stream, 'b, O, E: From<rustacuda::error::CudaError>>(
|
934 | 934 | param: Self::SyncHostType,
|
935 |
| - stream: &'stream crate::host::Stream, |
| 935 | + stream: crate::host::Stream<'stream>, |
936 | 936 | inner: impl super::WithNewAsync<'stream, Self, O, E>,
|
937 | 937 | ) -> Result<O, E>
|
938 | 938 | where
|
@@ -1058,7 +1058,7 @@ impl<'a, T: 'static> CudaKernelParameter for &'a mut crate::utils::shared::Threa
|
1058 | 1058 | #[cfg(feature = "host")]
|
1059 | 1059 | fn with_new_async<'stream, 'b, O, E: From<rustacuda::error::CudaError>>(
|
1060 | 1060 | param: Self::SyncHostType,
|
1061 |
| - _stream: &'stream crate::host::Stream, |
| 1061 | + _stream: crate::host::Stream<'stream>, |
1062 | 1062 | inner: impl super::WithNewAsync<'stream, Self, O, E>,
|
1063 | 1063 | ) -> Result<O, E>
|
1064 | 1064 | where
|
@@ -1135,7 +1135,7 @@ impl<'a, T: 'static + PortableBitSemantics + TypeGraphLayout> CudaKernelParamete
|
1135 | 1135 | #[cfg(feature = "host")]
|
1136 | 1136 | fn with_new_async<'stream, 'b, O, E: From<rustacuda::error::CudaError>>(
|
1137 | 1137 | param: Self::SyncHostType,
|
1138 |
| - _stream: &'stream crate::host::Stream, |
| 1138 | + _stream: crate::host::Stream<'stream>, |
1139 | 1139 | inner: impl super::WithNewAsync<'stream, Self, O, E>,
|
1140 | 1140 | ) -> Result<O, E>
|
1141 | 1141 | where
|
|
0 commit comments