streamCreateWithPriority

external fun streamCreateWithPriority(flags: Int, priority: Int): Long

Create a stream with the given priority. (cuStreamCreateWithPriority)

Return

Returned newly created stream

Parameters

flags

Flags for stream creation. See streamCreate for a list of valid flags

priority

Stream priority. Lower numbers represent higher priorities. See ctxGetStreamPriorityRange for more information about meaningful stream priorities that can be passed.