Get CUDA stream of active CUDA device # Parameters - `id` is the identifier of device in ArrayFire context # Return Values [cudaStream_t](https://docs.rs/cuda-runtime-sys/0.3.0-alpha.1/cuda_runtime_sys/type.cudaStream_t.html) handle.
(native_id: i32)
| 51 | /// |
| 52 | /// [cudaStream_t](https://docs.rs/cuda-runtime-sys/0.3.0-alpha.1/cuda_runtime_sys/type.cudaStream_t.html) handle. |
| 53 | pub fn get_stream(native_id: i32) -> cudaStream_t { |
| 54 | unsafe { |
| 55 | let mut ret_val: cudaStream_t = std::ptr::null_mut(); |
| 56 | let err_val = afcu_get_stream(&mut ret_val as *mut cudaStream_t, native_id); |
| 57 | handle_error_general(AfError::from(err_val)); |
| 58 | ret_val |
| 59 | } |
| 60 | } |
nothing calls this directly
no test coverage detected