The above code is identical to that in the stream priority setter. Please merge the common code. _Originally posted by @lijinf2 in https://github.com/NVIDIA/cuda-python/pull/2706#discussion_r3972633120_
The above code is identical to that in the stream priority setter. Please merge the common code.
Originally posted by @lijinf2 in #2706 (comment)