首页> 外文期刊>Concurrency, practice and experience >Performance tuning and sparse traversal technique for a cell-based fetch length algorithm on a GPU
【24h】

Performance tuning and sparse traversal technique for a cell-based fetch length algorithm on a GPU

机译:GPU上基于单元的访存长度算法的性能调整和稀疏遍历技术

获取原文
获取原文并翻译 | 示例

摘要

For determining distances (fetch lengths) from points to polygons in a two-dimensional Euclidean plane,rncell-based algorithms provide a simple and effective solution. They divide the input area into a grid of cellsrnthat cover the area. The objects are stored into the appropriate cells, and the resulting structure is used forrnsolving the problem. When the input objects are distributed unevenly or the cell size is small, most of therncells may be empty. The representation is then called sparse. In the method proposed in this work, each cellrncontains information about its distance to the nonempty cells. It is then possible to skip over several emptyrncells at a time without memory accesses. A cell-based fetch length algorithm is implemented on a graphicsrnprocessing unit (GPU). Because control flow divergence reduces its performance, several methods to reducernthe divergence are studied. While many of the explicit attempts turn out to be unsuccessful, sorting of therninput data and sparse traversal are observed to greatly improve performance: compared with the initial GPUrnimplementation, up to 45-fold speedup is reached. The speed improvement is greatest when the map is veryrnsparse and the points are given in a random order.
机译:为了确定二维欧几里得平面中点到多边形的距离(获取长度),基于rncell的算法提供了一种简单有效的解决方案。他们将输入区域划分为覆盖该区域的单元格网格。将对象存储到适当的单元格中,然后使用所得结构解决问题。当输入对象分布不均或像元大小较小时,大多数像元可能是空的。然后将该表示称为稀疏。在这项工作中提出的方法中,每个单元格都包含有关其到非空单元格的距离的信息。这样就可以一次跳过几个空单元而不进行内存访问。在图形处理单元(GPU)上实现了基于单元的提取长度算法。由于控制流发散会降低其性能,因此研究了几种减小发散的方法。尽管许多显式尝试均未成功,但观察到输入数据的排序和稀疏遍历可大大提高性能:与最初的GPU实现相比,加速了多达45倍。当地图非常稀疏并且以随机顺序给出点时,速度改进最大。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号