Skip to content
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 53 commits into from
Jul 26, 2021
Merged

Update benchmark scripts #213

merged 53 commits into from
Jul 26, 2021

Conversation

denisalevi
Copy link
Member

This PR should

  • add scripts that allow to easily run our benchmark scripts on our cluster
  • fix any bugs found on the way

I opened the PR mainly for code review purposes.

SudeshnaBora and others added 30 commits June 16, 2021 12:36
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.
@denisalevi denisalevi merged commit d9997f0 into master Jul 26, 2021
@denisalevi denisalevi deleted the benchmarking branch August 10, 2021 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants