Skip to main content

cuStreamSetAttribute

Function cuStreamSetAttribute 

Source
pub unsafe extern "C" fn cuStreamSetAttribute(
    hStream: CUstream,
    attr: CUstreamAttrID,
    value: *const CUstreamAttrValue,
) -> CUresult
Expand description

Sets stream attribute.

Sets attribute attr on hStream from corresponding attribute of value. The updated attribute will be applied to subsequent work submitted to the stream. It will not affect previously submitted work.

Note that this function may also return error codes from previous, asynchronous launches.

ยงReturn value

See also: CUaccessPolicyWindow.