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:
parent
14f833fdcf
commit
864068c045
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user