projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc3c76a
)
Set CUDA_MODULE_LOADING=EAGER for grok (#2638).
author
Carl Hetherington
<cth@carlh.net>
Wed, 22 Nov 2023 08:24:03 +0000
(09:24 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Sat, 16 Dec 2023 01:07:38 +0000
(
02:07
+0100)
src/lib/util.cc
patch
|
blob
|
history
diff --git
a/src/lib/util.cc
b/src/lib/util.cc
index 1186795bd55e48b9e352191ce6dda000146c2a92..8cfdf0552307148d10dad94d30764dc1c2249872 100644
(file)
--- 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 ();