Graphics processing units (GPUs) are widely available and have been used with great success to accelerate scientific computing in the last decade. These advances, however, are often not available to researchers interested in simulating spiking neural networks, but lacking the technical knowledge to write the necessary low-level code. Writing low-level code is not necessary when using the popular Brian simulator, which provides a framework to generate efficient CPU code from high-level model definitions in Python. Here, we present Brian2CUDA, an open-source software that extends the Brian simulator with a GPU backend. Our implementation generates efficient code for the numerical integration of neuronal states and for the propagation of synaptic events on GPUs, making use of their massively parallel arithmetic capabilities. We benchmark the performance improvements of our software for several model types and find that it can accelerate simulations by up to three orders of magnitude compared to Brian's CPU backend. Currently, Brian2CUDA is the only package that supports Brian's full feature set on GPUs, including arbitrary neuron and synapse models, plasticity rules, and heterogeneous delays. When comparing its performance with Brian2GeNN, another GPU-based backend for the Brian simulator with fewer features, we find that Brian2CUDA gives comparable speedups, while being typically slower for small and faster for large networks. By combining the flexibility of the Brian simulator with the simulation speed of GPUs, Brian2CUDA enables researchers to efficiently simulate spiking neural networks with minimal effort and thereby makes the advancements of GPU computing available to a larger audience of neuroscientists.

Download full-text PDF

Source
http://www.ncbi.nlm.nih.gov/pmc/articles/PMC9660315PMC
http://dx.doi.org/10.3389/fninf.2022.883700DOI Listing

Publication Analysis

Top Keywords

brian simulator
16
spiking neural
12
neural networks
8
low-level code
8
brian2cuda
5
gpus
5
brian2cuda flexible
4
flexible efficient
4
efficient simulation
4
simulation spiking
4

Similar Publications

Ambiguity in robotic surgical instruction: lessons from remote and in-person simulation.

Adv Health Sci Educ Theory Pract

January 2025

Department of Surgery, University of California San Francisco, 513 Parnassus Avenue S-321, San Francisco, CA, 94143, USA.

The rise of robotic surgery has been accompanied by numerous educational challenges as surgeons and trainees learn skills unique to the robotic platform. Remote instruction is a solution to provide surgeons ongoing education when in-person teaching is not feasible. However, surgical instruction faces challenges from unclear communication.

View Article and Find Full Text PDF

Background: High-consequence infectious diseases (HCIDs) include contact-transmissible viral haemorrhagic fevers and airborne-transmissible infections such as Middle Eastern Respiratory Syndrome. Assessing suspected HCID cases requires specialized infection control measures including patient isolation, personal protective equipment (PPE), and decontamination. There is need for an accessible course for NHS staff to improve confidence and competence in using HCID PPE outside specialist HCID centres.

View Article and Find Full Text PDF

Background: In an aging surgical patient population, preventing complications such as oversedation has taken increasing priority in perioperative care. Intraoperative use of virtual reality (VR) may decrease sedative requirements. We hypothesize that the use of immersive VR during total knee arthroplasty (TKA) will lead to decreased propofol requirements, improved patient-reported satisfaction, and reduced postoperative opioid requirements compared to active and usual care controls.

View Article and Find Full Text PDF
Article Synopsis
  • Humans struggle to see low-contrast objects during sudden changes in brightness, putting them at risk until their vision adapts.
  • A virtual reality simulation was developed to study how people detect low-contrast stimuli under different lighting conditions.
  • Results showed faster detection times when using self-tinting lenses during brightness decreases, indicating potential benefits for designing visual aids.
View Article and Find Full Text PDF

Surfactants can compete with microplastics for surfaces using adhesives as substrates for microplastic sequestration.

Environ Pollut

January 2025

Department of Materials Science and Engineering, University of Michigan, 2300 Hayward Street, Ann Arbor, MI, 48109-2117, USA. Electronic address:

Experimental efforts supplemented by modeling gauged whether common additives found in soaps and laundry detergents interfered with polyacrylate adhesive-based capture of microplastics. On the experimental front, poly(2-ethylhexyl acrylate) (PEHA) samples were evaluated using gravimetric analysis, probe tack, and functional assessments of adhesive-coated glass slides immersed into DI water solutions containing both microparticles and additives (solvents, softeners, and non-ionic surfactants). Nylon-6 spheres and polyethylene terephthalate microplastics were chosen for adsorption using a count-based method by ImageJ imaging analysis.

View Article and Find Full Text PDF

Want AI Summaries of new PubMed Abstracts delivered to your In-box?

Enter search terms and have AI summaries delivered each week - change queries or unsubscribe any time!