pub fn set_policy(policy: StreamPolicy)Expand description
Sets the active stream policy.
Takes precedence over any policy loaded from configuration files, no matter the call order. Should be called before the first kernel submissions: already-resolved stream ids are not revisited.