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
, orNone
If not None, override default verbose level (see
mne.verbose()
and Logging documentation for more). If used, it should be passed as a keyword-argument only.