mantidimaging.core.utility.cuda_check module

class mantidimaging.core.utility.cuda_check.CudaChecker[source]

Bases: object

classmethod clear_instance()[source]

Resets the instance. Used for making sure mocks don’t leak in tests.

classmethod cuda_is_present() bool[source]

Returns the shared cuda check result.

mantidimaging.core.utility.cuda_check.not_found_message() Tuple[str, str][source]

Generates a message that can be displayed if a working CUDA installation isn’t found.