Code optimisation in a nested-sampling algorithm

被引:1
|
作者
Lewis, S. J. [1 ]
Ireland, D. G. [2 ]
Vanderbauwhede, W. [1 ]
机构
[1] Univ Glasgow, Sch Comp Sci, Glasgow G12 8QQ, Lanark, Scotland
[2] Univ Glasgow, SUPA Sch Phys & Astron, Glasgow G12 8QQ, Lanark, Scotland
基金
英国科学技术设施理事会;
关键词
Monte Carlo methods; General-Purpose computation on Graphics; Processing Units (GPGPU); Data analysis;
D O I
10.1016/j.nima.2015.03.006
中图分类号
TH7 [仪器、仪表];
学科分类号
0804 ; 080401 ; 081102 ;
摘要
The speed-up in program running time is investigated for problems of parameter estimation with nested sampling Monte Carlo methods. The example used in this study is to extract a polarisation observable from event-by-event data from meson photoproduction reactions. Various implementations of the basic algorithm were compared, consisting of combinations of single threaded versus multi-threaded, and CPU versus GPU versions. These were implemented in OpenMP and OpenCL. For the application under study, and with the number of events as used in our work, we find that straightforward multi-threaded CPU OpenMP coding gives the best performance; for larger numbers of events, OpenCL on the CPU performs better. The study also shows that there is a "break-even" point of the number of events where the use of GPUs helps performance. GPUs are not found to be generally helpful for this problem, due to the data transfer times, which more than offset the improvement in computation time. (C) 2015 The Authors. Published by Elsevier B.V.
引用
收藏
页码:105 / 109
页数:5
相关论文
共 50 条
  • [31] Nested sampling algorithm for subsurface flow model selection, uncertainty quantification, and nonlinear calibration
    Elsheikh, A. H.
    Wheeler, M. F.
    Hoteit, I.
    WATER RESOURCES RESEARCH, 2013, 49 (12) : 8383 - 8399
  • [32] Nested Transition Path Sampling
    Bolhuis, Peter G.
    Csanyi, Gabor
    PHYSICAL REVIEW LETTERS, 2018, 120 (25)
  • [33] polychord: nested sampling for cosmology
    Handley, W. J.
    Hobson, M. P.
    Lasenby, A. N.
    MONTHLY NOTICES OF THE ROYAL ASTRONOMICAL SOCIETY, 2015, 450 (01) : L61 - L65
  • [34] On statistical uncertainty in nested sampling
    Keeton, Charles R.
    MONTHLY NOTICES OF THE ROYAL ASTRONOMICAL SOCIETY, 2011, 414 (02) : 1418 - 1426
  • [35] Superposition Enhanced Nested Sampling
    Martiniani, Stefano
    Stevenson, Jacob D.
    Wales, David J.
    Frenkel, Daan
    PHYSICAL REVIEW X, 2014, 4 (03):
  • [36] Spectrum efficiency of nested sparse sampling and coprime sampling
    Junjie Chen
    Qilian Liang
    Baoju Zhang
    Xiaorong Wu
    EURASIP Journal on Wireless Communications and Networking, 2013
  • [37] Spectrum efficiency of nested sparse sampling and coprime sampling
    Chen, Junjie
    Liang, Qilian
    Zhang, Baoju
    Wu, Xiaorong
    EURASIP JOURNAL ON WIRELESS COMMUNICATIONS AND NETWORKING, 2013,
  • [38] A system for signal code optimisation
    Daktariunas, A
    Jurkus, P
    SIGNAL ANALYSIS & PREDICTION I, 1997, : 117 - 120
  • [39] Crashworthiness optimisation design of novel nested structures
    Wang, Yonghui
    He, Qiang
    Chen, Xiao
    INTERNATIONAL JOURNAL OF CRASHWORTHINESS, 2024, 29 (04) : 681 - 691
  • [40] An Algorithm for Acquiring PRN Code in DSSS System Based on Sub-sampling
    Qian, Bo
    Yang, Li
    Feng, Yong-xin
    Pan, Cheng-sheng
    FGCN: PROCEEDINGS OF THE 2008 SECOND INTERNATIONAL CONFERENCE ON FUTURE GENERATION COMMUNICATION AND NETWORKING, VOLS 1 AND 2, 2008, : 327 - +