pub unsafe extern "C" fn cudaStreamGetAttribute(
hStream: cudaStream_t,
attr: cudaLaunchAttributeID,
value_out: *mut cudaLaunchAttributeValue,
) -> cudaError_tExpand description
Queries stream attribute.
Queries attribute attr from hStream and stores it in corresponding member of value_out.
Note that this function may also return error codes from previous, asynchronous launches.
ยงReturn value
cudaError_t::CUDA_SUCCESScudaError_t::CUDA_ERROR_INVALID_VALUEcudaError_t::CUDA_ERROR_INVALID_HANDLE
See also: cudaAccessPolicyWindow.