mne.cuda.init_cuda#

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.

Parameters:
ignore_configbool

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

verbosebool | str | int | None

Control verbosity of the logging output. If None, use the default verbosity level. See the logging documentation and mne.verbose() for details. Should only be passed as a keyword argument.