cuda: Fix runtime PTX compile

Handle extra option args

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8950>
This commit is contained in:
Seungha Yang 2025-05-08 19:18:32 +09:00 committed by GStreamer Marge Bot
parent 14f833fdcf
commit 864068c045

View File

@ -328,6 +328,9 @@ gst_cuda_nvrtc_compile_with_option (const gchar * source,
else
opts.push_back ("--gpu-architecture=compute_30");
for (guint i = 0; i < num_options; i++)
opts.push_back (options[i]);
ret = NvrtcCompileProgram (prog, opts.size (), opts.data ());
if (ret != NVRTC_SUCCESS) {
gsize log_size;