You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running on a cluster I need to make use of GeNN preferences
extern int autoChooseDevice; //!< Flag to signal whether the GPU device should be chosen automatically
extern int defaultDevice; //! default GPU device; used to determine which GPU to use if chooseDevice is 0 (off)
I would suggest to just make them brian preferences under devices.genn.XXX
Does that sound like a good plan @mstimberg ?
They would then have to be translated into genn preferences through the model template I suggest.
The text was updated successfully, but these errors were encountered:
Sounds very reasonable to me! Obviously we'd make the autoChooseDevice a boolean value instead of an int in the preference, but all this should be very straightforward. Do you want to do this, or should I? It should not be complicated but I cannot test things in detail due to the lack of a graphics card in my laptop...
yeah ... probably should have been a bool in the first place but let's not split hairs at this point. I will make a start and let you know how I get on.
I think this works now and is reasonable. Not sure whether I should make a pull request as yet as I am also making other changes for the benchmarking ... but you can also cherry-pick the last commit into the master if you want.
When running on a cluster I need to make use of GeNN preferences
I would suggest to just make them brian preferences under
devices.genn.XXX
Does that sound like a good plan @mstimberg ?
They would then have to be translated into genn preferences through the model template I suggest.
The text was updated successfully, but these errors were encountered: