Skip to content

Fix crash when CUDA device is disabled

Kenneth Moreland requested to merge kmorel/vtk-m:safe-cuda-runtime-config into master

There was an issue where if VTK-m was compiled with CUDA support but then run on a computer where no CUDA device was available, an inappropriate exception was thrown (instead of just disabling the device). The initialization code should now properly check for the existance of a CUDA device.

Fixes #816 (closed)

Backport: release

Merge request reports