We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e6c852 commit 512ff6fCopy full SHA for 512ff6f
devito/arch/archinfo.py
@@ -661,6 +661,11 @@ def check_cuda_runtime():
661
driver_version = driver_version.value
662
runtime_version = runtime_version.value
663
664
+ if driver_version == 0:
665
+ # cudart present but no driver detected. Likely isolation
666
+ # run such as version check or within a docker build.
667
+ return
668
+
669
driver_v = parse(str(driver_version/1000))
670
runtime_v = parse(str(runtime_version/1000))
671
# First check the "major" version, known to be incompatible
0 commit comments