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

被引:132
作者
Alerstam, Erik [1 ]
Lo, William Chun Yip [2 ]
Han, Tianyi David [4 ]
Rose, Jonathan [4 ]
Andersson-Engels, Stefan [1 ]
Lilge, Lothar [2 ,3 ]
机构
[1] Lund Univ, Dept Phys, S-22100 Lund, Sweden
[2] Univ Toronto, Dept Med Biophys, Toronto, ON M5S 1A1, Canada
[3] Univ Hlth Network, Ontario Canc Inst, Toronto, ON, Canada
[4] Univ Toronto, Edward S Rogers Sr Dept Elect & Comp Engn, Toronto, ON M5S 1A1, Canada
来源
BIOMEDICAL OPTICS EXPRESS | 2010年 / 1卷 / 02期
基金
加拿大健康研究院; 瑞典研究理事会; 加拿大自然科学与工程研究理事会;
关键词
INTERSTITIAL PHOTODYNAMIC THERAPY; TISSUE OPTICAL-PROPERTIES; MONTE-CARLO-SIMULATION; PHOTON MIGRATION; MODEL; SKIN;
D O I
10.1364/BOE.1.000658
中图分类号
Q5 [生物化学];
学科分类号
071010 ; 081704 ;
摘要
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). (C) 2010 Optical Society of America
引用
收藏
页码:658 / 675
页数:18
相关论文
共 30 条
[21]  
NVIDIA Corporation, 2010, CUDA PROGR GUID 3 0
[22]   Monte Carlo-based inverse model for calculating tissue optical properties. Part I: Theory and validation on synthetic phantoms [J].
Palmer, GM ;
Ramanujam, N .
APPLIED OPTICS, 2006, 45 (05) :1062-1071
[23]  
Quinn M.J., 1994, PARALLEL COMPUTING T
[24]   GPU-based Monte Carlo simulation for light propagation in complex heterogeneous tissues [J].
Ren, Nunu ;
Liang, Jimin ;
Qu, Xiaochao ;
Li, Jianfeng ;
Lu, Bingjia ;
Tian, Jie .
OPTICS EXPRESS, 2010, 18 (07) :6811-6823
[25]  
Saito M., 2008, SIMD ORIENTED FAST M
[26]   A tetrahedron-based inhomogeneous Monte Carlo optical simulator [J].
Shen, H. ;
Wang, G. .
PHYSICS IN MEDICINE AND BIOLOGY, 2010, 55 (04) :947-962
[27]   Near-infrared optical properties of ex vivo human skin and subcutaneous tissues measured using the Monte Carlo inversion technique [J].
Simpson, CR ;
Kohl, M ;
Essenpreis, M ;
Cope, M .
PHYSICS IN MEDICINE AND BIOLOGY, 1998, 43 (09) :2465-2478
[28]   MCML - MONTE-CARLO MODELING OF LIGHT TRANSPORT IN MULTILAYERED TISSUES [J].
WANG, LH ;
JACQUES, SL ;
ZHENG, LQ .
COMPUTER METHODS AND PROGRAMS IN BIOMEDICINE, 1995, 47 (02) :131-146
[29]   CONV - convolution for responses to a finite diameter photon beam incident on multi-layered tissues [J].
Wang, LH ;
Jacques, SL ;
Zheng, LQ .
COMPUTER METHODS AND PROGRAMS IN BIOMEDICINE, 1997, 54 (03) :141-150
[30]   A MONTE-CARLO MODEL FOR THE ABSORPTION AND FLUX DISTRIBUTIONS OF LIGHT IN TISSUE [J].
WILSON, BC ;
ADAM, G .
MEDICAL PHYSICS, 1983, 10 (06) :824-830