کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
8173527 1526341 2015 5 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
Code optimisation in a nested-sampling algorithm
ترجمه فارسی عنوان
بهینه سازی کد در یک الگوریتم نمونه برداری تو در تو
موضوعات مرتبط
مهندسی و علوم پایه فیزیک و نجوم ابزار دقیق
چکیده انگلیسی
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.
ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: Nuclear Instruments and Methods in Physics Research Section A: Accelerators, Spectrometers, Detectors and Associated Equipment - Volume 785, 11 June 2015, Pages 105-109
نویسندگان
, , ,