arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1412.6986cs.DC
收藏

GPGPU上局部内存使用的自动调整

Automatic Tuning of Local Memory Use on GPGPUs

Tianyi David Han, Tarek S. Abdelrahman

摘要:

本地内存的使用对于提高OpenCL程序的性能非常重要。然而,它的使用可能并不总是有利于性能,这取决于各种应用程序的特点,并没有简单的启发式决定何时使用它。我们开发了一个机器学习模型来决定优化是否有益。我们训练的模型与数百万的合成基准,并表明它可以预测,如果优化应适用于一个单一的阵列,在合成和真实的基准,具有很高的精度。

英文摘要:

The use of local memory is important to improve the performance of OpenCL programs. However, its use may not always benefit performance, depending on various application characteristics, and there is no simple heuristic for deciding when to use it. We develop a machine learning model to decide if the optimization is beneficial or not. We train the model with millions of synthetic benchmarks and show that it can predict if the optimization should be applied for a single array, in both synthetic and real benchmarks, with high accuracy.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑