(Shortest import: from brian2cuda.utils.gputools import get_cuda_path)
from brian2cuda.utils.gputools import get_cuda_path)
Detect the path to the CUDA installation (e.g. ‘/usr/local/cuda’). This takes into account user defined environmental variable CUDA_PATH and preference prefs.devices.cuda_standalone.cuda_backend.cuda_path.
CUDA_PATH
prefs.devices.cuda_standalone.cuda_backend.cuda_path