Nueclear Web Banner
Journal of Medical Physics
 Home | Search | Ahead of print | Current Issue | Archives | Instructions | Subscription | Login  The official journal of Association of Medical Physicists of India      
 Users online: 407  Home  EMail this page Print this page Decrease font size Default font size Increase font size 


 
TECHNICAL NOTE
Year : 2010  |  Volume : 35  |  Issue : 2  |  Page : 120-122
 

Applying graphics processor units to Monte Carlo dose calculation in radiation therapy


1 Department of Radiation Medicine, Roswell Park Cancer Institute, Buffalo, NY 14263, USA
2 Department of Physics and Center for Computational Research, University at Buffalo, SUNY, Buffalo, NY 14260, USA
3 Computer Science and Engineering, University at Buffalo, SUNY, Buffalo, NY 14260, USA

Date of Submission05-Oct-2009
Date of Decision03-Nov-2009
Date of Acceptance14-Nov-2009
Date of Web Publication3-Apr-2010

Correspondence Address:
M Bakhtiari
Radiation Medicine Department, Roswell Park Cancer Institute, Buffalo, NY 14263
USA
Login to access the Email id

Source of Support: None, Conflict of Interest: None


DOI: 10.4103/0971-6203.62198

Rights and Permissions

 

   Abstract 

We investigate the potential in using of using a graphics processor unit (GPU) for Monte-Carlo (MC)-based radiation dose calculations. The percent depth dose (PDD) of photons in a medium with known absorption and scattering coefficients is computed using a MC simulation running on both a standard CPU and a GPU. We demonstrate that the GPU's capability for massive parallel processing provides a significant acceleration in the MC calculation, and offers a significant advantage for distributed stochastic simulations on a single computer. Harnessing this potential of GPUs will help in the early adoption of MC for routine planning in a clinical environment.


Keywords: Graphics processor unit, Monte Carlo


How to cite this article:
Bakhtiari M, Malhotra H, Jones M D, Chaudhary V, Walters J P, Nazareth D. Applying graphics processor units to Monte Carlo dose calculation in radiation therapy. J Med Phys 2010;35:120-2

How to cite this URL:
Bakhtiari M, Malhotra H, Jones M D, Chaudhary V, Walters J P, Nazareth D. Applying graphics processor units to Monte Carlo dose calculation in radiation therapy. J Med Phys [serial online] 2010 [cited 2017 Nov 19];35:120-2. Available from: http://www.jmp.org.in/text.asp?2010/35/2/120/62198


The use of Monte Carlo (MC) simulations is highly desirable for dose calculation in radiation therapy as part of treatment planning or verification. MC simulations represent the gold standard in radiation dose calculation since they include the real physics of the interactions of photons with materials. [1],[2],[3],[4] Because of the complexity of the physics and atomic data of the interactions, solving the photon transport equations analytically is difficult or impossible. MC simulations track each photon through the medium by using random numbers to determine the occurrence of a particular interaction. [5] Since stochastic processes are involved, simulating a large number of photons is necessary to obtain reasonable statistical accuracy. This results in a computationally-expensive calculation. The standard CPU of a workstation or PC lacks the numerical performance for this task, and may require several hours for a typical MC dose calculation. In addition, manufacturers have not increased CPU clock speed recently, due to concerns about overheating and power consumption. One method of addressing this issue is to exploit the highly parallelizable nature of MC simulations, which permits calculations to be performed on a cluster of networked CPU's. For example, MC simulations performed at our institution employ a cluster of 1000 dual core Linux machines (2000 CPUs), maintained and administered by a local academic supercomputing facility. However, most clinics do not have access to such computational resources.

Fortunately, within the last several years, the programmable GPU has evolved into a powerful computing device, as illustrated by [Figure 1]. [6] With multiple cores driven by very high memory bandwidth, GPU's offer low-cost computational resources for both graphics and non-graphics processing. [7],[8],[9] Since it was designed primarily for graphics rendering, the GPU architecture devotes more transistors to data processing than to data caching and flow control. More specifically, the GPU is especially well suited to calculations which can be expressed as data-parallel computations and require a high ratio of arithmetic operations to memory operations.

We investigated the use of GPUs for MC dose calculations. Such an implementation would allow a physicist access to the computational resources of a supercomputer cluster in an inexpensive and portable machine. NVIDIA's ( www.nvidia.com ) recently-released GPU programming language, CUDA (Compute Unified Device Architecture) provided the necessary software tools. [9]

In order to compare the performances of GPU and CPU platforms for MC simulations, we developed a simple photon transport MC program. The code was implemented and run on both platforms, and the performances were compared. Therefore, the purpose of this technical note is not to describe a physically-accurate MC code, but rather to illustrate the potential advantages of GPU processing for this family of applications.

The simulation is performed in the following manner. A photon is incident on a semi-infinite isotropic medium, initially normal to the surface. The photon travels a distance of up to a value, s. During this process, the photon may undergo no interaction, or be scattered or absorbed. Since the medium is uniform, the absorption and scattering coefficients are constant throughout. No secondary-particle production is considered. If the photon is scattered, the new direction is selected randomly from a uniform distribution. When absorption occurs, the position of the absorption is recorded, and the simulation then proceeds with the next photon. All photons possess identical initial energy and are incident on the same point. A convolution technique can then be used to determine the dose distribution due to a beam profile of any shape. [Figure 2] shows the dose distribution as a function of depth resulting from a simulation of 10 7 histories. Note that since no secondary particle generation is considered, the curve achieves a maximum at zero depth, and the shape is different from a standard PDD.

We implemented the simulation on an Nvidia 8800 Ultra GPU using the CUDA language. The required random numbers were generated by the GPU, and the history of each photon was simulated using a separate thread. A total of 4096 concurrent threads were available. The program was then implented on a standard PC in the C++ language, and executed on the CPU for comparison with the GPU results comparison purposes.

The simulation times required for the CPU and GPU execution are shown in [Figure 3]. For a large number of histories, the GPU program is approximately 150 times faster, or equivalently, the GPU could simulate 150 times more histories than the CPU in a given amount of time

The potential was investigated of employing a GPU for MC simulation in radiation therapy. It was shown that the parallel data processing capabilities of the GPU can be harnessed to greatly increase the number of photon histories which may be simulated in a given time. The number was up to two orders of magnitude larger than that of the CPU simulation. This increase, using low-cost hardware and freely-available software tools, can provide enhanced accuracy of MC calculations, and make them feasible for clinical implementation.

This work was supported by an award from the Roswell Park Alliance Foundation. This research was supported in part by grant from NYSTAR. One of the authors, MB, would like to thank Dr. Matthew Podgorsak at Roswell Park Cancer Institute for supporting the work.

 
   References Top

1.Chetty IJ, Curran B, Cygler JE, DeMarco JJ, Ezzell G, Faddegon BA, et al. Report of the AAPM Task Group No. 105: Issues associated with clinical implementation of Monte Carlo-based photon and electron external beam treatment planning. Med Phys 2007;34:4818.   Back to cited text no. 1      
2.Dogan N, Siebers JV, Keall PJ, Lerma F, Wu Y, Fatyga M, et al. Improving IMRT dose accuracy via deliverable Monte Carlo optimization for the treatment of head and neck cancer patients. Med Phys 2006;33:4033-43.   Back to cited text no. 2      
3.Lovelock DM, Chui CS, Mohan R. A Monte Carlo model of photon beams used in radiation therapy. Med Phys 1995;22:1387-94.   Back to cited text no. 3      
4.Stabin MG, Konijnenberg M, Knapp FF Jr, Spencer RH. Monte Carlo modeling of radiation dose distributions in intravascular radiation therapy. Med Phys 2000;27:1086-92.   Back to cited text no. 4      
5.Nelson WR, Hirayama H, Rogers DW. Standford: Standford Linear Accelerator Center; 1985.   Back to cited text no. 5      
6.Buck I, NVIDIA, Code generation and optimization, 2007.CGO'07. International Symposium; 2007.   Back to cited text no. 6      
7.Liu W, Schmidt B, Voss G, Muller-Wittig W. Lecture notes in computer. Science 2007;4873:185.   Back to cited text no. 7      
8.Després P, Rinkel J, Hasegawa BH, Prevrhal S. Stream processors: a new platform for Monte Carlo calculations. J Physics: Conference Series 2008;102:012007.   Back to cited text no. 8      
9.Owens J, Houston M, Luebke D, Green S, Stone J, Phillips J. GPU Computing. Proc IEEE 2008;96:879.  Back to cited text no. 9      


    Figures

  [Figure 1], [Figure 2], [Figure 3]


This article has been cited by
1 From CPU to GP-GPU: Challenges and insights in GPU-based environmental simulations
Chadwick, J., Taiani, F., Beecham, J.
Proceedings of the 10th International Workshop on Middleware for Grids, Clouds and e-Science, MGC 2012 - Co-located with ACM/IFIP/USENIX 13th International Middleware Conference. 2012;
[Pubmed]
2 SIScaR-GPU: Fast simulation and visualization of intraoperative scattered radiation to support radiation protection training
Wagner, M., Dresing, K., Ludwig, W., Ahrens, C.A., Bott, O.J.
Studies in Health Technology and Informatics. 2012; 180: 968-972
[Pubmed]
3 Toward real-time Monte Carlo simulation using a commercial cloud computing infrastructure
Henry Wang,Yunzhi Ma,Guillem Pratx,Lei Xing
Physics in Medicine and Biology. 2011; 56(17): N175
[Pubmed] | [DOI]
4 Toward real-time Monte Carlo simulation using a commercial cloud computing infrastructure
Wang, H., Ma, Y., Pratx, G., Xing, L.
Physics in Medicine and Biology. 2011; 56(17): 175-181
[Pubmed]
5 DEMCMC-GPU: An efficient multi-objective optimization method with GPU acceleration on the fermi architecture
Zhu, W., Yaseen, A., Li, Y.
New Generation Computing. 2011; 29(2): 163-184
[Pubmed]



 

Top
Print this article  Email this article
Previous article Next article

    

 
   Search
 
   Next article
   Previous article 
   Table of Contents
  
    Similar in PUBMED
   Search Pubmed for
   Search in Google Scholar for
 Related articles
    Article in PDF (812 KB)
    Citation Manager
    Access Statistics
    Reader Comments
    Email Alert *
    Add to My List *
* Registration required (free)  


    Abstract
    References
    Article Figures

 Article Access Statistics
    Viewed2089    
    Printed107    
    Emailed0    
    PDF Downloaded111    
    Comments [Add]    
    Cited by others 5    

Recommend this journal