Skip to content

Issue 179 optimize headers - #332

Open
SinYita wants to merge 8 commits into
masterfrom
issue-179-optimize-headers
Open

Issue 179 optimize headers#332
SinYita wants to merge 8 commits into
masterfrom
issue-179-optimize-headers

Conversation

@SinYita

@SinYita SinYita commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

This PR did first preparation for #179. The main goal is to get cuRAND out of cuda_utils.h, since that header is used almost everywhere.

To do this, I moved CurandBuffer into curand_buffer.cu, and host-side cuRAND checks are now behind the BRIAN2CUDA_CURAND_HOST macro. Now, only the host code that actually needs cuRAND will opt in.

Also included in this PR:

I added a seed to NumPy/Python RNGs in the mushroombody and stdp examples to make them reproducible. I also got rid of the broken seaborn-paper style.

Did a small cleanup for include guards in clocks.h and spikequeue.h.

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.

1 participant