This documentation is for development version 0.18.dev0.

mne.cuda.get_cuda_memory

mne.cuda.get_cuda_memory(kind='available')[source]

Get the amount of free memory for CUDA operations.

Parameters:
kind : str

Can be “available” or “total”.

Returns:
memory : str

The amount of available or total memory as a human-readable string.