首页> 外文会议>International conference on computational science >Automatic Mapping for OpenCL-Programs on CPU/GPU Heterogeneous Platforms
【24h】

Automatic Mapping for OpenCL-Programs on CPU/GPU Heterogeneous Platforms

机译:在CPU / GPU异构平台上针对OpenCL程序的自动映射

获取原文

摘要

Heterogeneous computing systems with multiple CPUs and GPUs are increasingly popular. Today, heterogeneous platforms are deployed in many setups, ranging from low-power mobile systems to high performance computing systems. Such platforms are usually programmed using OpenCL which allows to execute the same program on different types of device. Nevertheless, programming such platforms is a challenging job for most non-expert programmers. To enable an efficient application runtime on heterogeneous platforms, programmers require an efficient workload distribution to the available compute devices. The decision how the application should be mapped is non-trivial. In this paper, we present a new approach to build accurate predictive-models for OpenCL programs. We use a machine learning-based predictive model to estimate which device allows best application speed-up. With the LLVM compiler framework we develop a tool for dynamic code-feature extraction. We demonstrate the effectiveness of our novel approach by applying it to different prediction schemes. Using our dynamic feature extraction techniques, we are able to build accurate predictive models, with accuracies varying between 77% and 90%, depending on the prediction mechanism and the scenario. We evaluated our method on an extensive set of parallel applications. One of our findings is that dynamically extracted code features improve the accuracy of the predictive-models by 6.1% on average (maximum 9.5%) as compared to the state of the art.
机译:具有多个CPU和GPU的异构计算系统越来越受欢迎。如今,异构平台已部署在许多设置中,从低功耗移动系统到高性能计算系统。通常使用OpenCL对此类平台进行编程,该OpenCL允许在不同类型的设备上执行相同的程序。尽管如此,对大多数非专业程序员来说,对这样的平台进行编程是一项艰巨的任务。为了在异构平台上实现有效的应用程序运行时,程序员要求将有效的工作负载分配到可用的计算设备。如何映射应用程序的决定并非易事。在本文中,我们提出了一种为OpenCL程序构建准确的预测模型的新方法。我们使用基于机器学习的预测模型来估计哪种设备可以实现最佳应用程序加速。利用LLVM编译器框架,我们开发了一种用于动态代码特征提取的工具。通过将其应用于不同的预测方案,我们证明了该新颖方法的有效性。使用我们的动态特征提取技术,我们能够建立准确的预测模型,其准确度在77%到90%之间,具体取决于预测机制和场景。我们在广泛的并行应用程序集上评估了我们的方法。我们的发现之一是,与现有技术相比,动态提取的代码功能可将预测模型的准确性平均提高6.1%(最大9.5%)。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号