Skip to main content

cudaStreamGetAttribute

Function cudaStreamGetAttribute 

Source
pub unsafe extern "C" fn cudaStreamGetAttribute(
    hStream: cudaStream_t,
    attr: cudaLaunchAttributeID,
    value_out: *mut cudaLaunchAttributeValue,
) -> cudaError_t
Expand 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

See also: cudaAccessPolicyWindow.