diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-11-22 09:24:03 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-12-16 02:07:38 +0100 |
| commit | e17275bba2d662db380331c5df3f50c15bcc7db8 (patch) | |
| tree | 7de68993ffa7f050c798c82295e8e332fc9930ae | |
| parent | dc3c76a718338212521a56614da49358f5eeabc8 (diff) | |
Set CUDA_MODULE_LOADING=EAGER for grok (#2638).
| -rw-r--r-- | src/lib/util.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/util.cc b/src/lib/util.cc index 1186795bd..8cfdf0552 100644 --- a/src/lib/util.cc +++ b/src/lib/util.cc @@ -428,6 +428,11 @@ dcpomatic_setup () SetUnhandledExceptionFilter(exception_handler); #endif +#ifdef DCPOMATIC_GROK + /* This makes grok support work with CUDA 12.2 */ + setenv("CUDA_MODULE_LOADING", "EAGER", 1); +#endif + #ifdef DCPOMATIC_HAVE_AVREGISTER LIBDCP_DISABLE_WARNINGS av_register_all (); |
