mne.cuda.
init_cuda
(ignore_config=False)[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.