brainevent.config.prefer_system_nvcc#
- brainevent.config.prefer_system_nvcc(enable=True)[source]#
Switch the nvcc discovery preference.
- Parameters:
enable (
bool) –True→ prefer the nvcc on the systemPATH;False→ prefer the pip nvcc bundled withjax[cuda*](default).- Return type:
Examples
>>> import brainevent >>> brainevent.config.prefer_system_nvcc() # switch to system-first >>> brainevent.config.prefer_system_nvcc(False) # switch back to pip-first