计算机科学 > 分布式、并行与集群计算
[提交于 2015年5月14日]
标题:Using Butterfly-Patterned Partial Sums to Optimize GPU Memory Accesses for Drawing from Discrete Distributions
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:We describe a technique for drawing values from discrete distributions, such as sampling from the random variables of a mixture model, that avoids computing a complete table of partial sums of the relative probabilities. A table of alternate ("butterfly-patterned") form is faster to compute, making better use of coalesced memory accesses. From this table, complete partial sums are computed on the fly during a binary search. Measurements using an NVIDIA Titan Black GPU show that for a sufficiently large number of clusters or topics (K > 200), this technique alone more than doubles the speed of a latent Dirichlet allocation (LDA) application already highly tuned for GPU execution.
提交历史
来自:Guy Steele[v1] 2015年5月14日 星期四 19:46:28 UTC