lavu/hwcontext_cuda: refactor context initialisation
There's enough going on here now that it should not be duplicated between cuda_device_create and cuda_device_derive.
Showing
想要评论请 注册 或 登录
There's enough going on here now that it should not be duplicated between cuda_device_create and cuda_device_derive.