mne.cuda.get_cuda_memory

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

Get the amount of free memory for CUDA operations.

Parameters
kindstr

Can be “available” or “total”.

Returns
memorystr

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

Examples using mne.cuda.get_cuda_memory