Skip to content

About the reduction of loops #314

@yger

Description

@yger

Hi all

While doing some benchmarks for the OpenMP implementation, and trying to profile a bit the code, to see where are the main bottlenecks in the cpp standalone module, I came up with a maybe naive but obvious questions : why are we looping multiple times over cells, at every time steps, to first do the stateupdate, then to threshold, then to reset (actually, this loop is done only on spiking neurons, so this is faster) ? It will be more efficient to merge those threee operations in the same loop, no ? Are there any reasons for not doing that ? Will it reduce the flexibility of the code ?

Best

Pierre

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions