Skip to content
Snippets Groups Projects
  1. Aug 03, 2016
    • Benjamin Cumming's avatar
      fix compiler warnings and tests with ASSERTIONS on · 03986569
      Benjamin Cumming authored
      - update modparser external repo to a version that fixes some compiler
        warnings with clang
      - fix a handful of compiler warnings for signed-unsigned comparison in
        tests and when ASSERTIONS are on
      - comment out EXPECTS(has_contiguous_segments) where they fail in the
        tests so that we can run all the tests with full debug flags
      03986569
    • Sam Yates's avatar
      Bugfix: build fail without TBB. · dd95b67c
      Sam Yates authored
      Plus: coding guidelines compliance.
      dd95b67c
  2. Jul 28, 2016
    • Sam Yates's avatar
      Big type rationalization · ee03400c
      Sam Yates authored
      * Consistent use of globally defined integer types for
        indices etc. (catypes.hpp) or template type parameters
        across simulator.
      * Support unsigned types in tree, cell_tree and friends.
      * Use cell_member_type for probe ids (WIP)
      * Rejig mechanism lookup structure (simplifies, plays nicely
        with templated index types.)
      * Move spike, connection, events out of communcation namespace
        and directory.
      ee03400c
  3. Jun 28, 2016
    • Sam Yates's avatar
      Use library's own version of assert. · e17c1ec5
      Sam Yates authored
      Sidesteps NDEBUG versus assert() issue; EXPECTS macros are
      now enabled via a CMake configuration option -DWITH_ASSERTIONS=ON,
      corresponding to the preprocessor define -DWITH_ASSERTIONS in
      the code itself.
      
      (Note, with assertions enabled, one of the existing tests in
      test_algorithms.cpp aborts.)
      e17c1ec5
  4. Jun 24, 2016
    • Sam Yates's avatar
      MPI through CMake · c3ad1c68
      Sam Yates authored
      * Add WITH_MPI CMake option to enable MPI code in application
      * Use find_package(MPI) and set up flags, etc. for MPI
      * Extra defines to disable the inclusion of C++ MPI headers for
        MPICH and OpenMPI.
      * Fix signed/unsigned compare warning in algorithms.hpp
      c3ad1c68
  5. Jun 17, 2016
  6. Jun 15, 2016
    • Vasileios Karakasis's avatar
      Low-level algorithms for manipulating cell trees. · 526953b5
      Vasileios Karakasis authored
      At this low level a cell tree is just a sequence of parent indices,
      where each parent index is the parent of the current index in the
      sequence. There four basic algorithms:
      
      1. child_count(parent_index):
         Computes the number of children for each node in parent_index
         	Time: O(N), Space: O(1)
      2. branches(parent_index):
         Returns a set of the branching nodes in parent_index, last branch
         index equals the parent_index's size.
      	 Time: O(N), Space: O(N)
      3. expand_branches(branch_index):
         Takes a branch_index (result from branches()) and expands it at the
         size of the original tree with all the nodes inside a branch having
         the same number.
               Time: O(parent_index), Space: O(1)
      4. make_parent_index(parent_index, branch_index):
         Return a compacted tree (single node per branch) from parent_index
         and its corresponding branch_index.
      	Time: O(N), Space: O(N)
      
      There is another utility function as well:
      
      find_branch(branch_index, nid):
          Returns the id of the branch where nid belongs to.
      	Time: O(N), Space: O(1)
      526953b5
  7. Jun 09, 2016
  8. Apr 28, 2016
  9. Apr 22, 2016
  10. Apr 20, 2016
  11. Apr 19, 2016
  12. Apr 18, 2016
  13. Apr 14, 2016
  14. Apr 12, 2016
  15. Apr 08, 2016