nvcodec: Enhance CUDA runtime compiler library loading on Windows
authorSeungha Yang <seungha@centricular.com>
Sat, 26 Jun 2021 16:15:49 +0000 (01:15 +0900)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 29 Jun 2021 17:40:37 +0000 (17:40 +0000)
commitc8ffd39dfebcb4c5c0ae352a6e93559dc3255bca
tree86239b971eb0990317cddfdd7f9b9fa44274e5c0
parent44e3399bf8316d20c4a7165f2ba40ee16ba71541
nvcodec: Enhance CUDA runtime compiler library loading on Windows

The name of installed CUDA runtime compiler library is formed like
nvrtc64_{major-version}{minor-version}_0.dll on Windows
(which is differnt from documented in https://docs.nvidia.com/cuda/nvrtc/index.html)

And minor version might not be exactly same as that of CUDA.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2362>
sys/nvcodec/gstnvrtcloader.c