This documentation is for development version 0.18.dev0.


mne.cuda.init_cuda(ignore_config=False, verbose=None)[source]

Initialize CUDA functionality.

This function attempts to load the necessary interfaces (hardware connectivity) to run CUDA-based filtering. This function should only need to be run once per session.

If the config var (set via mne.set_config or in ENV) MNE_USE_CUDA == ‘true’, this function will be executed when the first CUDA setup is performed. If this variable is not set, this function can be manually executed.

ignore_config : bool

If True, ignore the config value MNE_USE_CUDA and force init.

verbose : bool, str, int, or None

If not None, override default verbose level (see mne.verbose() and Logging documentation for more).