• Home
  • Search
  • Simulating spiking neural networks on massively parallel graphical processing units using a code generation approach with GeNN
  • Open Access IconOpen Access
  • Cite Icon12
  • https://doi.org/10.1186/1471-2202-15-s1-o1Copy DOI Icon

Simulating spiking neural networks on massively parallel graphical processing units using a code generation approach with GeNN

Show More
  • Abstract
  • Highlights & Summary
  • PDF
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

A major challenge in computational neuroscience is to achieve high performance for real-time simulations of full size brain networks. Recent advances in GPU technology provide massively parallel, low-cost and efficient hardware that is widely available on the computer market. However, the comparatively low-level programming that is necessary to create an efficient GPU-compatible implementation of neuronal network simulations can be challenging, even for otherwise experienced programmers. To resolve this problem a number of tools for simulating spiking neural networks (SNN) on GPUs have been developed [1,2], but using a particular simulator usually comes with restrictions to particular supported neuron models, synapse models or connectivity schemes. Besides being inconvenient, this can unduly influence the path of scientific enquiry. Here we present GeNN (GPU enhance neuronal networks), which builds on NVIDIA's common unified device architecture (CUDA) to enable a more flexible framework. CUDA allows programmers to write C-like code and execute it on NVIDIA’s massively parallel GPUs. However, in order to achieve good performance, it is critical but not trivial to make the right choices on how to parallelize a computational problem, organize its data in memory and optimize the memory access patterns. GeNN is based on the idea that much of this optimization can be cast into heuristics that allow the GeNN meta-compiler to generate optimized GPU code from a basic description of the neuronal network model in a minimal domain specific language of C function calls. For further simplification, this description may also be obtained by translating variables, dynamical equations and parameters from an external simulator into GeNN input files. We are developing this approach for the Brian 2 [3] and SpineCreator/SpineML [4] systems. Using a code generation approach in GeNN has important advantages: 1. A large number of different neuron and synapse models can be provided without performance losses in the final simulation code. 2. The generated simulator code can be optimized for the available GPU hardware and for the specific model. 3. The framework is intrinsically extensible: New GPU optimization strategies, including strategies of other simulators, can be added in the generated code for situations where they are effective. The first release version of GeNN is available at http://sourceforge.net/projects/genn. It has been built and optimized for simulating neuronal networks with an anatomical structure (separate neuron populations with sparse or dense connection patterns with the possibility to use some common learning rules). We have executed performance and scalability tests on an NVIDIA Tesla C2070 GPU with an Intel Xeon(R) E5-2609 CPU running Ubuntu 12.04 LTS. Our results show that as the network size increases, GPU simulations never fail to outperform CPU simulations. But we are also able to demonstrate the performance limits of using GPUs with GeNN under different scenarios of network connectivity, learning rules and simulation parameters, confirming the that GPU acceleration can differ largely depending on the particular details of the model of interest.

Loading PDF

Similar Papers
  • Research Article
  • Citations9

Evaluation of the computational efficacy in GPU-accelerated simulations of spiking neurons

  • Feb 01, 2018
  • Computing
  • Kazuhisa Fujita +2
  • Conference Article
  • Citations4

Directed Graph Placement for SNN Simulation into a multi-core GALS Architecture

  • Oct 01, 2018
  • Francesco Barchi +3
  • Research Article
  • Citations36

Simulation of spiking neural networks — architectures and implementations

  • Aug 29, 2002
  • Neurocomputing
  • Martin Schæfer +5
  • Research Article
  • Citations16

Spike-timing-dependent plasticity enhanced synchronization transitions induced by autapses in adaptive Newman-Watts neuronal networks

  • Sep 22, 2016
  • Biosystems
  • Yubing Gong +2
  • Research Article
  • Citations15

Daisen: A Framework for Visualizing Detailed GPU Execution

  • Jun 01, 2021
  • Computer Graphics Forum
  • Yifan Sun +5
  • Research Article

Roles played by depressing synapses in neural circuits

  • Jan 01, 2014
  • Frontiers in Neuroinformatics
  • Jędrzejewska-Szmek Joanna +1
  • Research Article
  • Citations3

Analog synaptic devices applied to spiking neural networks for reinforcement learning applications

  • May 12, 2022
  • Semiconductor Science and Technology
  • Jangsaeng Kim +4
  • PDF
  • Research Article
  • Citations17

Visualizing Neuronal Network Connectivity with Connectivity Pattern Tables

  • Jan 01, 2009
  • Frontiers in Neuroinformatics
  • Eilen Nordlie +1
  • PDF
  • Front Matter
  • Citations16

Welcome to Neural Systems and Circuits: bridging the gap between theory and experiment

  • Jan 26, 2011
  • Neural Systems & Circuits
  • Peter E Latham +1
  • PDF
  • Research Article
  • Citations49

Synchronization in simplicial complexes of memristive Rulkov neurons.

  • Aug 31, 2023
  • Frontiers in Computational Neuroscience
  • Mahtab Mehrabbeik +2
  • Conference Article

Parallel computing method for generating hologram of 3D objects using layer-based method

  • Oct 16, 2019
  • Jia Huang +5
  • Conference Article
  • Citations28

Evaluating the Performance of NVIDIA’s A100 Ampere GPU for Sparse and Batched Computations

  • Nov 01, 2020
  • Hartwig Anzt +4
  • PDF
  • Research Article
  • Citations2

Obtaining Arbitrary Prescribed Mean Field Dynamics for Recurrently Coupled Networks of Type-I Spiking Neurons with Analytically Determined Weights.

  • Feb 29, 2016
  • Frontiers in computational neuroscience
  • Wilten Nicola +2
  • Book Chapter
  • Citations47

Spiking Neurons on GPUs

  • Jan 01, 2006
  • Fabrice Bernhard +1
  • Book Chapter
  • Citations11

Normalization Principles in Computational Neuroscience

  • Jul 29, 2019
  • Oxford Research Encyclopedia of Neuroscience
  • Kenway Louie +1
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.