-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update benchmark scripts #213
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
It looks like I updated brian2 and brian2genn in order to use brian2genn's kernel_timing functions for profiling. I added custom code to brian2genn, which I commited in the `brian2genn.diff` file, but it seems I didn't update the brian2 and brian2genn submodules. I now did that based on the `git.log` records from our last benchmarks in 11/2018.
Clean up previous commit and add an option to not delete the remote brian2cuda repository after benchmark or test suite run (for debugging).
The brian2cuda repository is now pulled form GitHub on the remote and updated via the local repository (instead of using rsync for copy). This should work even for slow local internet connection. Uncommited changes will not be benchmarked now.
We use `nvidia-smi -L` to detect all available GPUs. `nvidia-smi` displays all GPUs independent of `CUDA_DEVICE_QUERY`, hence setting it had not effect. Now, `CUDA_DEVICE_QUERY=1` will detect GPU 1 as GPU 0.
This is not implemented yet, but shows how it should work.
CUDA_VISIBLE_DEVICES will now precede any other options. That means if `gpu_id` is set as `prefs`, it will choose from the visible devices.
Synchronized brian2cuda repositories included colons in their folder names from the appended time stamps. This broke setting `PATH` for genn binaries correctly, since colons are interpreted as separators in `PATH`.
Don't pipe after exporting environment variables, it will not export them since an intermediate shell is created
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR should
I opened the PR mainly for code review purposes.