Cargando…

Next-generation acceleration and code optimization for light transport in turbid media using GPUs

A highly optimized Monte Carlo (MC) code package for simulating light transport is developed on the latest graphics processing unit (GPU) built for general-purpose computing from NVIDIA - the Fermi GPU. In biomedical optics, the MC method is the gold standard approach for simulating light transport...

Descripción completa

Detalles Bibliográficos
Autores principales: Alerstam, Erik, Lo, William Chun Yip, Han, Tianyi David, Rose, Jonathan, Andersson-Engels, Stefan, Lilge, Lothar
Formato: Texto
Lenguaje:English
Publicado: Optical Society of America 2010
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3018007/
https://www.ncbi.nlm.nih.gov/pubmed/21258498
http://dx.doi.org/10.1364/BOE.1.000658
_version_ 1782196005745197056
author Alerstam, Erik
Lo, William Chun Yip
Han, Tianyi David
Rose, Jonathan
Andersson-Engels, Stefan
Lilge, Lothar
author_facet Alerstam, Erik
Lo, William Chun Yip
Han, Tianyi David
Rose, Jonathan
Andersson-Engels, Stefan
Lilge, Lothar
author_sort Alerstam, Erik
collection PubMed
description A highly optimized Monte Carlo (MC) code package for simulating light transport is developed on the latest graphics processing unit (GPU) built for general-purpose computing from NVIDIA - the Fermi GPU. In biomedical optics, the MC method is the gold standard approach for simulating light transport in biological tissue, both due to its accuracy and its flexibility in modelling realistic, heterogeneous tissue geometry in 3-D. However, the widespread use of MC simulations in inverse problems, such as treatment planning for PDT, is limited by their long computation time. Despite its parallel nature, optimizing MC code on the GPU has been shown to be a challenge, particularly when the sharing of simulation result matrices among many parallel threads demands the frequent use of atomic instructions to access the slow GPU global memory. This paper proposes an optimization scheme that utilizes the fast shared memory to resolve the performance bottleneck caused by atomic access, and discusses numerous other optimization techniques needed to harness the full potential of the GPU. Using these techniques, a widely accepted MC code package in biophotonics, called MCML, was successfully accelerated on a Fermi GPU by approximately 600x compared to a state-of-the-art Intel Core i7 CPU. A skin model consisting of 7 layers was used as the standard simulation geometry. To demonstrate the possibility of GPU cluster computing, the same GPU code was executed on four GPUs, showing a linear improvement in performance with an increasing number of GPUs. The GPU-based MCML code package, named GPU-MCML, is compatible with a wide range of graphics cards and is released as an open-source software in two versions: an optimized version tuned for high performance and a simplified version for beginners (http://code.google.com/p/gpumcml).
format Text
id pubmed-3018007
institution National Center for Biotechnology Information
language English
publishDate 2010
publisher Optical Society of America
record_format MEDLINE/PubMed
spelling pubmed-30180072011-01-21 Next-generation acceleration and code optimization for light transport in turbid media using GPUs Alerstam, Erik Lo, William Chun Yip Han, Tianyi David Rose, Jonathan Andersson-Engels, Stefan Lilge, Lothar Biomed Opt Express Image Reconstruction and Inverse Problems A highly optimized Monte Carlo (MC) code package for simulating light transport is developed on the latest graphics processing unit (GPU) built for general-purpose computing from NVIDIA - the Fermi GPU. In biomedical optics, the MC method is the gold standard approach for simulating light transport in biological tissue, both due to its accuracy and its flexibility in modelling realistic, heterogeneous tissue geometry in 3-D. However, the widespread use of MC simulations in inverse problems, such as treatment planning for PDT, is limited by their long computation time. Despite its parallel nature, optimizing MC code on the GPU has been shown to be a challenge, particularly when the sharing of simulation result matrices among many parallel threads demands the frequent use of atomic instructions to access the slow GPU global memory. This paper proposes an optimization scheme that utilizes the fast shared memory to resolve the performance bottleneck caused by atomic access, and discusses numerous other optimization techniques needed to harness the full potential of the GPU. Using these techniques, a widely accepted MC code package in biophotonics, called MCML, was successfully accelerated on a Fermi GPU by approximately 600x compared to a state-of-the-art Intel Core i7 CPU. A skin model consisting of 7 layers was used as the standard simulation geometry. To demonstrate the possibility of GPU cluster computing, the same GPU code was executed on four GPUs, showing a linear improvement in performance with an increasing number of GPUs. The GPU-based MCML code package, named GPU-MCML, is compatible with a wide range of graphics cards and is released as an open-source software in two versions: an optimized version tuned for high performance and a simplified version for beginners (http://code.google.com/p/gpumcml). Optical Society of America 2010-08-23 /pmc/articles/PMC3018007/ /pubmed/21258498 http://dx.doi.org/10.1364/BOE.1.000658 Text en ©2010 Optical Society of America http://creativecommons.org/licenses/by-nc-nd/3.0/ This is an open-access article distributed under the terms of the Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 Unported License, which permits download and redistribution, provided that the original work is properly cited. This license restricts the article from being modified or used commercially.
spellingShingle Image Reconstruction and Inverse Problems
Alerstam, Erik
Lo, William Chun Yip
Han, Tianyi David
Rose, Jonathan
Andersson-Engels, Stefan
Lilge, Lothar
Next-generation acceleration and code optimization for light transport in turbid media using GPUs
title Next-generation acceleration and code optimization for light transport in turbid media using GPUs
title_full Next-generation acceleration and code optimization for light transport in turbid media using GPUs
title_fullStr Next-generation acceleration and code optimization for light transport in turbid media using GPUs
title_full_unstemmed Next-generation acceleration and code optimization for light transport in turbid media using GPUs
title_short Next-generation acceleration and code optimization for light transport in turbid media using GPUs
title_sort next-generation acceleration and code optimization for light transport in turbid media using gpus
topic Image Reconstruction and Inverse Problems
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3018007/
https://www.ncbi.nlm.nih.gov/pubmed/21258498
http://dx.doi.org/10.1364/BOE.1.000658
work_keys_str_mv AT alerstamerik nextgenerationaccelerationandcodeoptimizationforlighttransportinturbidmediausinggpus
AT lowilliamchunyip nextgenerationaccelerationandcodeoptimizationforlighttransportinturbidmediausinggpus
AT hantianyidavid nextgenerationaccelerationandcodeoptimizationforlighttransportinturbidmediausinggpus
AT rosejonathan nextgenerationaccelerationandcodeoptimizationforlighttransportinturbidmediausinggpus
AT anderssonengelsstefan nextgenerationaccelerationandcodeoptimizationforlighttransportinturbidmediausinggpus
AT lilgelothar nextgenerationaccelerationandcodeoptimizationforlighttransportinturbidmediausinggpus