-
Notifications
You must be signed in to change notification settings - Fork 12
Preferences
Denis Alevi edited this page Mar 30, 2021
·
1 revision
This section explains brian2CUDA specific preferences.
General brian2CUDA preferences.
brian2cuda.gpu_id
= None
- The ID of the GPU that should be used for code execution. This should be
same ID as reported by
nvidia-smi
. Default value isNone
, in which case the GPU with the highest compute capability and lowest ID is used.
Code generation preferences
TODO: change preference name to brian2cuda
codegen.cuda.compute_capability
= None
- Manually set the compute capability for which CUDA code will be compiled.
This has to be a float (e.g.
6.1
). IfNone
, the compute capability for the target GPU will be detected usingdeviceQuery
.
codegen.cuda.cuda_path
= None
- The path to the CUDA installation. If set, this preferences takes
precedence over environment variable
CUDA_PATH
.