beast-dev / beast-mcmc

Bayesian Evolutionary Analysis Sampling Trees
http://beast.community
GNU Lesser General Public License v2.1
192 stars 73 forks source link

Likelihood computation performance reduced with BEAGLE 3 on CPU #1037

Closed rambaut closed 6 years ago

rambaut commented 6 years ago

Running BEAGLE 3 on CPUs with Multi-Partition extensions degrades performance significantly.

rambaut commented 6 years ago

When not using GPU, it is better to create multiple BEAGLE instances within threads that to use the multipartition extension with internal BEAGLE threading. Now automatically chooses to use multipartition extension only if on GPU/OpenCL and >1 partition. Can be overridden with a command line option.