The samples in Video Codec SDK 9.0.20 use cuCtxCreate.
Note that the use of multiple CUcontext s per device within a single process will substantially degrade performance and is strongly discouraged. Instead, it is highly recommended that the implicit one-to-one device-to-context mapping for the process provided by the CUDA Runtime API be used.
In most cases it is recommended to use cuDevicePrimaryCtxRetain.
Is the Video Codec SDK exempt from this recommendation?