GPU implementation of FSR simulations: performance improvements and limitations

Research output: Chapter in book/report/conference proceedingConference contributionResearchpeer review

Authors

External Research Organisations

  • Laboratoire des Matériaux Avancés
  • Université de Lyon
  • Université Claude Bernard Lyon 1
  • Max Planck Institute for Gravitational Physics (Albert Einstein Institute)
View graph of relations

Details

Original languageEnglish
Title of host publicationOptics and Photonics for Information Processing XVI
EditorsAbdul A. S. Awwal, Khan M. Iftekharuddin, Victor Hugo Diaz-Ramirez
PublisherSPIE
Number of pages9
ISBN (electronic)9781510654341
Publication statusPublished - 3 Oct 2022
EventSPIE Optical Engineering + Applications, 2022, San Diego, California, United States: Optics and Photonics for Information Processing XVI - San Diego, California, San Diego, United States
Duration: 21 Aug 202225 Aug 2022
Conference number: 122250E

Publication series

NameProceedings of SPIE - The International Society for Optical Engineering
Volume12225
ISSN (Print)0277-786X
ISSN (electronic)1996-756X

Abstract

Numerical simulation to calculate the free spectral range scans (FSR scans) of laser resonators is a computationally intensive task. OSCAR is a well-established Matlab toolbox that enables for such simulations based on Fourier optics. Any arbitrary discrete complex electromagnetic input fields as well as misalignment or mismatching of resonators can be considered in the FSR simulation. Unfortunately, it currently only features CPU based calculations on one or more CPU cores. However, the computational cost increases exponentially with increasing lateral resolution of the complex electromagnetic fields. In addition, only a limited number of roundtrips can be carried out in an acceptable computation time, which limits the applicability only to low finesse resonators. Due to good parallelizability of the FSR scan calculation, this numerical computation is very well suited for modern graphics cards, which are outstanding in performing many calculations in parallel. This paper introduces the extension of FSR scan simulations on modern graphics cards (GPUs) within the OSCAR Toolbox. First, a statistical analysis is provided, that presents the massive performance improvement compared to CPU computations. Subsequently, the disadvantages in the form of memory limitations of GPUs are outlined. Therefore, generally valid data is presented, from which a trade-off between lateral resolution of the complex electromagnetic fields and the number of roundtrips to be performed can be derived. In conclusion, the great potentials of new applications are highlighted, which were previously not feasible. Any code of this GPU implementation discussed in this paper has been integrated into the OSCAR Matlab Toolbox and is made available open source on GitHub.

Keywords

    FSR simulation, Fabry-Perot, GPU acceleration, Parallel computing

ASJC Scopus subject areas

Cite this

GPU implementation of FSR simulations: performance improvements and limitations. / Melchert, Nils Frederik; Hinz, Lennart; Reithmeier, Eduard et al.
Optics and Photonics for Information Processing XVI. ed. / Abdul A. S. Awwal; Khan M. Iftekharuddin; Victor Hugo Diaz-Ramirez. SPIE, 2022. 122250E (Proceedings of SPIE - The International Society for Optical Engineering; Vol. 12225).

Research output: Chapter in book/report/conference proceedingConference contributionResearchpeer review

Melchert, NF, Hinz, L, Reithmeier, E & Degallaix, J 2022, GPU implementation of FSR simulations: performance improvements and limitations. in AAS Awwal, KM Iftekharuddin & VH Diaz-Ramirez (eds), Optics and Photonics for Information Processing XVI., 122250E, Proceedings of SPIE - The International Society for Optical Engineering, vol. 12225, SPIE, SPIE Optical Engineering + Applications, 2022, San Diego, California, United States, San Diego, United States, 21 Aug 2022. https://doi.org/10.1117/12.2633434
Melchert, N. F., Hinz, L., Reithmeier, E., & Degallaix, J. (2022). GPU implementation of FSR simulations: performance improvements and limitations. In A. A. S. Awwal, K. M. Iftekharuddin, & V. H. Diaz-Ramirez (Eds.), Optics and Photonics for Information Processing XVI Article 122250E (Proceedings of SPIE - The International Society for Optical Engineering; Vol. 12225). SPIE. https://doi.org/10.1117/12.2633434
Melchert NF, Hinz L, Reithmeier E, Degallaix J. GPU implementation of FSR simulations: performance improvements and limitations. In Awwal AAS, Iftekharuddin KM, Diaz-Ramirez VH, editors, Optics and Photonics for Information Processing XVI. SPIE. 2022. 122250E. (Proceedings of SPIE - The International Society for Optical Engineering). doi: 10.1117/12.2633434
Melchert, Nils Frederik ; Hinz, Lennart ; Reithmeier, Eduard et al. / GPU implementation of FSR simulations: performance improvements and limitations. Optics and Photonics for Information Processing XVI. editor / Abdul A. S. Awwal ; Khan M. Iftekharuddin ; Victor Hugo Diaz-Ramirez. SPIE, 2022. (Proceedings of SPIE - The International Society for Optical Engineering).
Download
@inproceedings{226a67098eab445db7e3203ab2e08e03,
title = "GPU implementation of FSR simulations: performance improvements and limitations",
abstract = "Numerical simulation to calculate the free spectral range scans (FSR scans) of laser resonators is a computationally intensive task. OSCAR is a well-established Matlab toolbox that enables for such simulations based on Fourier optics. Any arbitrary discrete complex electromagnetic input fields as well as misalignment or mismatching of resonators can be considered in the FSR simulation. Unfortunately, it currently only features CPU based calculations on one or more CPU cores. However, the computational cost increases exponentially with increasing lateral resolution of the complex electromagnetic fields. In addition, only a limited number of roundtrips can be carried out in an acceptable computation time, which limits the applicability only to low finesse resonators. Due to good parallelizability of the FSR scan calculation, this numerical computation is very well suited for modern graphics cards, which are outstanding in performing many calculations in parallel. This paper introduces the extension of FSR scan simulations on modern graphics cards (GPUs) within the OSCAR Toolbox. First, a statistical analysis is provided, that presents the massive performance improvement compared to CPU computations. Subsequently, the disadvantages in the form of memory limitations of GPUs are outlined. Therefore, generally valid data is presented, from which a trade-off between lateral resolution of the complex electromagnetic fields and the number of roundtrips to be performed can be derived. In conclusion, the great potentials of new applications are highlighted, which were previously not feasible. Any code of this GPU implementation discussed in this paper has been integrated into the OSCAR Matlab Toolbox and is made available open source on GitHub.",
keywords = "FSR simulation, Fabry-Perot, GPU acceleration, Parallel computing",
author = "Melchert, {Nils Frederik} and Lennart Hinz and Eduard Reithmeier and J. Degallaix",
year = "2022",
month = oct,
day = "3",
doi = "10.1117/12.2633434",
language = "English",
series = "Proceedings of SPIE - The International Society for Optical Engineering",
publisher = "SPIE",
editor = "Awwal, {Abdul A. S.} and Iftekharuddin, {Khan M.} and Diaz-Ramirez, {Victor Hugo}",
booktitle = "Optics and Photonics for Information Processing XVI",
address = "United States",
note = "SPIE Optical Engineering + Applications, 2022, San Diego, California, United States ; Conference date: 21-08-2022 Through 25-08-2022",

}

Download

TY - GEN

T1 - GPU implementation of FSR simulations: performance improvements and limitations

AU - Melchert, Nils Frederik

AU - Hinz, Lennart

AU - Reithmeier, Eduard

AU - Degallaix, J.

N1 - Conference code: 122250E

PY - 2022/10/3

Y1 - 2022/10/3

N2 - Numerical simulation to calculate the free spectral range scans (FSR scans) of laser resonators is a computationally intensive task. OSCAR is a well-established Matlab toolbox that enables for such simulations based on Fourier optics. Any arbitrary discrete complex electromagnetic input fields as well as misalignment or mismatching of resonators can be considered in the FSR simulation. Unfortunately, it currently only features CPU based calculations on one or more CPU cores. However, the computational cost increases exponentially with increasing lateral resolution of the complex electromagnetic fields. In addition, only a limited number of roundtrips can be carried out in an acceptable computation time, which limits the applicability only to low finesse resonators. Due to good parallelizability of the FSR scan calculation, this numerical computation is very well suited for modern graphics cards, which are outstanding in performing many calculations in parallel. This paper introduces the extension of FSR scan simulations on modern graphics cards (GPUs) within the OSCAR Toolbox. First, a statistical analysis is provided, that presents the massive performance improvement compared to CPU computations. Subsequently, the disadvantages in the form of memory limitations of GPUs are outlined. Therefore, generally valid data is presented, from which a trade-off between lateral resolution of the complex electromagnetic fields and the number of roundtrips to be performed can be derived. In conclusion, the great potentials of new applications are highlighted, which were previously not feasible. Any code of this GPU implementation discussed in this paper has been integrated into the OSCAR Matlab Toolbox and is made available open source on GitHub.

AB - Numerical simulation to calculate the free spectral range scans (FSR scans) of laser resonators is a computationally intensive task. OSCAR is a well-established Matlab toolbox that enables for such simulations based on Fourier optics. Any arbitrary discrete complex electromagnetic input fields as well as misalignment or mismatching of resonators can be considered in the FSR simulation. Unfortunately, it currently only features CPU based calculations on one or more CPU cores. However, the computational cost increases exponentially with increasing lateral resolution of the complex electromagnetic fields. In addition, only a limited number of roundtrips can be carried out in an acceptable computation time, which limits the applicability only to low finesse resonators. Due to good parallelizability of the FSR scan calculation, this numerical computation is very well suited for modern graphics cards, which are outstanding in performing many calculations in parallel. This paper introduces the extension of FSR scan simulations on modern graphics cards (GPUs) within the OSCAR Toolbox. First, a statistical analysis is provided, that presents the massive performance improvement compared to CPU computations. Subsequently, the disadvantages in the form of memory limitations of GPUs are outlined. Therefore, generally valid data is presented, from which a trade-off between lateral resolution of the complex electromagnetic fields and the number of roundtrips to be performed can be derived. In conclusion, the great potentials of new applications are highlighted, which were previously not feasible. Any code of this GPU implementation discussed in this paper has been integrated into the OSCAR Matlab Toolbox and is made available open source on GitHub.

KW - FSR simulation

KW - Fabry-Perot

KW - GPU acceleration

KW - Parallel computing

UR - http://www.scopus.com/inward/record.url?scp=85141792864&partnerID=8YFLogxK

U2 - 10.1117/12.2633434

DO - 10.1117/12.2633434

M3 - Conference contribution

T3 - Proceedings of SPIE - The International Society for Optical Engineering

BT - Optics and Photonics for Information Processing XVI

A2 - Awwal, Abdul A. S.

A2 - Iftekharuddin, Khan M.

A2 - Diaz-Ramirez, Victor Hugo

PB - SPIE

T2 - SPIE Optical Engineering + Applications, 2022, San Diego, California, United States

Y2 - 21 August 2022 through 25 August 2022

ER -

By the same author(s)