diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-11-22 09:24:03 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-01-28 02:01:58 +0100 |
| commit | 83d9b7f8735e8e4bc932ecbc3467eb2897fcc115 (patch) | |
| tree | d1fdb6dcd415290d7a0451e201bd15c30b6b0b00 /src | |
| parent | 0e60f0e982a22f1642342b8d046a95c8813045a0 (diff) | |
Set CUDA_MODULE_LOADING=EAGER for grok (#2638).
Diffstat (limited to 'src')
| -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 762b74d87..5e1b2ee49 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 (); |
