utils package
Utility functions for Brian2CUDA
gputools
module
Tools to get information about available GPUs.
Functions
Return list of names of available GPUs, sorted by GPU ID as reported in |
Get the "best" GPU available. |
|
Get compute capability of GPU with ID |
Return new dictionary of cuda installation variables |
Detect the path to the CUDA installation (e.g. |
Return CUDA runtime version (as float, e.g. |
Return dictionary of selected gpu variable |
Return the path to the |
Reset detected CUDA installation. |
Reset selected GPU. |
|
Set global cuda installation dictionary to |
|
Set global gpu selection dictionary to |
Select GPU for simulation, based on user preference |
logger
module
Brian2CUDA’s logging system extensions
Exported members:
suppress_brian2_logs
Functions
Suppress all logs coming from brian2. |
stringtools
module
Brian2CUDA regex functions.
Functions
|
Append |
Replace double-precision floating-point literals in |