Skip to main content

cusolverDnGetStream

Function cusolverDnGetStream 

Source
pub unsafe extern "C" fn cusolverDnGetStream(
    handle: cusolverDnHandle_t,
    streamId: *mut cudaStream_t,
) -> cusolverStatus_t
Expand description

This function queries the stream to be used by the cuSolverDN library to execute its routines.

cusolverStatus_t::CUSOLVER_STATUS_SUCCESS: The stream was set successfully.

cusolverStatus_t::CUSOLVER_STATUS_NOT_INITIALIZED: The library was not initialized.

§Parameters

  • handle: Handle to the cuSolverDN library context.
  • streamId: The stream which is used by handle.

§Return value