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
I'm trying to run benchmarks on the newest releases of GeNN (4.5.1) and brian2GeNN (1.6) and wanted to use the insert_code mechanism which you used for the brian2geNN paper benchmarks (https://github.com/brian-team/brian2genn_benchmarks).
I used the <chrono> library for time point measurements, which I included via prefs.codegen.cpp.headers. This fails because the custom header is not included into model.cpp, which does includes code_lines blocks, which are filled via the insert_code mechanism.
Hi there,
I'm trying to run benchmarks on the newest releases of GeNN (4.5.1) and brian2GeNN (1.6) and wanted to use the
insert_code
mechanism which you used for the brian2geNN paper benchmarks (https://github.com/brian-team/brian2genn_benchmarks).I used the
<chrono>
library for time point measurements, which I included viaprefs.codegen.cpp.headers
. This fails because the custom header is not included intomodel.cpp
, which does includescode_lines
blocks, which are filled via theinsert_code
mechanism.This example reproduces the issue
I'll open a PR with a fix.
The text was updated successfully, but these errors were encountered: