[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
research-article

GPU simulations of spiking neural P systems on modern web browsers

Published: 12 August 2022 Publication History

Abstract

In this work we present a novel and proof of concept Spiking Neural P system (for short, SN P systems) simulator that runs on modern web browsers whilst using graphics processing units (for short, GPUs). By creating an SN P system that both utilizes the GPU and runs on modern web browsers, we allow a much more performant SN P simulator that would also be a lot more accessible for researchers to experiment with, and can be integrated into other tools or visualizations transparently without having to learn specific GPU knowledge or techniques. Using previous results on representing SN P system computations using linear algebra, we analyze and implement a computation simulation algorithm on web browsers that runs on the GPU. Since web browsers (at this time) do not have any capabilities for General Purpose computing on GPUs (for short, GPGPU), we exploit the Web Graphics Library (for short, WebGL) and create shaders to generate textures that correspond to computational results of our SN P simulation algorithm. To our knowledge, this is the first work on simulating SN P systems on browser GPUs. Here, we present two different implementations and algorithms as case studies to analyse and compare the performance of the simulations, with particular interest in speedup compared to CPU approaches.

References

[1]
Aboy BCD, Bariring EJA, Carandang JP, Cabarle FGC, Cruz RTDL, Adorna HN, Martínez-del Amor MÁ (2019) Optimizations in CuSNP simulator for spiking neural P systems on CUDA GPUs. In: 2019 international conference on high performance computing simulation (HPCS), pp 535–542
[2]
Cabarle F, Adorna H, Martínez-del Amor M, and Pérez-Jiménez M Improving GPU simulations of spiking neural P systems Rom J Inf Sci Technol 2012 15 5-20
[3]
Can I Use: WebGL—3D Canvas graphics. https://caniuse.com/webgl
[4]
Carandang JP, Villaflores JMB, Cabarle FGC, Adorna HN, and Martínez del Amor MÁ CuSNP: spiking neural P systems simulators in CUDA Rom J Inf Sci Technol (ROMJIST) 2017 20 1 57-70
[5]
Carandang J, Cabarle F, Adorna H, Hernandez N, and Martínez-del Amor M Handling non-determinism in spiking neural P systems: algorithms and simulations Fundam Inf 2019 164 139-155
[6]
Ceterchi R and Tomescu AI Implementing sorting networks with spiking neural P systems Fundam Inf 2008 87 1 35-48
[7]
Ciobanu G and Wenyuan G Martín-Vide C, Mauri G, Păun G, Rozenberg G, and Salomaa A P systems running on a cluster of computers Membrane computing 2004 Berlin, Heidelberg Springer 123-139
[8]
Díaz-Pernil D, Graciani-Díaz C, Gutiérrez-Naranjo MA, Pérez-Hurtado I, Pérez-Jiménez MJ (2010) Software for P systems. The Oxford Handbook of Membrane Computing, pp 437–454, http://www.us.oup.com/us/catalog/general/subject/Mathematics/ComputerScience/?view=usa &sf=toc &ci=9780199556670
[9]
Dupaya AGS, Galano ACAP, Cabarle FGC, De La Cruz RT, Ballesteros KJ, and Lazo PPL A web-based visual simulator for spiking neural P systems J Membr Comput 2022 4 1 21-40
[10]
Fernandez ADC, Fresco RM, Cabarle FGC, de la Cruz RTA, Macababayao ICH, Ballesteros KJ, and Adorna HN Snapse: a visual tool for spiking neural P systems Processes 2021 9 1 72
[11]
Harris M (2005) Mapping computational concepts to GPUs. In: ACM SIGGRAPH 2005 courses. p. 50-es. SIGGRAPH ’05, Association for Computing Machinery, New York, NY, USA, https://doi.org/10.1145/1198555.1198768
[12]
Ionescu M, Păun G, Yokomori T (2006) Spiking neural P systems. Fundam Inf 71(2, 3):279–308
[16]
Kirk DB and WmW Hwu Programming massively parallel processors: a hands-on approach 2010 1 San Francisco Morgan Kaufmann Publishers Inc.
[17]
Macías-Ramos LF, Pérez-Hurtado I, García-Quismondo M, Valencia-Cabrera L, Pérez-Jiménez MJ, and Riscos-Núñez A Gheorghe M, Păun G, Rozenberg G, Salomaa A, and Verlan S AP-lingua based simulator for spiking neural P systems Membrane computing 2012 Berlin, Heidelberg Springer 257-281
[18]
Martínez-del Amor MÁ, Orellana-Martín D, Pérez-Hurtado I, Cabarle FGC, and Adorna HN Simulation of spiking neural P systems with sparse matrix-vector operations Processes 2021 9 4 690
[20]
Plummer Jr RL, Cheah E (2016) Gpu.js. https://github.com/gpujs/gpu.js
[22]
[23]
Zeng X, Adorna H, Martínez-del Amor MÁ, Pan L, Pérez-Jiménez MJ (2010) Matrix representation of spiking neural P systems. In: International conference on membrane computing. Springer, pp 377–391

Cited By

View all
  • (2023)Spiking neural P system with synaptic vesicles and applications in multiple brain metastasis segmentationInformation Sciences: an International Journal10.1016/j.ins.2023.01.016625:C(620-638)Online publication date: 1-May-2023

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image Natural Computing: an international journal
Natural Computing: an international journal  Volume 22, Issue 1
Mar 2023
216 pages

Publisher

Kluwer Academic Publishers

United States

Publication History

Published: 12 August 2022
Accepted: 25 July 2022

Author Tags

  1. Membrane computing
  2. Spiking neural P systems
  3. Web browser
  4. GPU

Qualifiers

  • Research-article

Funding Sources

  • Dean Ruben A. Garcia Professorial Chair Award

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 18 Dec 2024

Other Metrics

Citations

Cited By

View all
  • (2023)Spiking neural P system with synaptic vesicles and applications in multiple brain metastasis segmentationInformation Sciences: an International Journal10.1016/j.ins.2023.01.016625:C(620-638)Online publication date: 1-May-2023

View Options

View options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media