首页> 外文会议>International Workshop on Languages and Compilers for Parallel Computing >SWIRL++: Evaluating Performance Models to Guide Code Transformation in Convolutional Neural Networks
【24h】

SWIRL++: Evaluating Performance Models to Guide Code Transformation in Convolutional Neural Networks

机译:SWIRL ++:评估卷积神经网络中的代码转换的性能模型

获取原文

摘要

Convolutional Neural Networks (CNNs) are ubiquitous in applications ranging from self-driving cars to various branches of health care. CPUs with large core counts and wide SIMD support are used in HPC clusters and supercomputers; therefore, high-performance CPU implementations of CNNs are valuable, in addition to the more prevar lent GPU implementations. In this paper, we describe SWIRL++, an optimization approach for CNNs that incorporates an analytical performance model to identify optimization strategies that minimize data movement overheads of CNN execution. We integrate the model with the SWIRL DSL compiler to automatically generate high-performance implementations of CNNs, optimized for cache hierarchies, and both thread-level and SIMD parallelism. We compare resulting performance of generated code with Ten-sorFlow, integrated with Intel's MKL-DNN library (TF-MKL), and PyTorch on an Intel Xeon 8280 CascadeLake platform. Performance exceeds PyTorch on average by 2x, and is comparable on average for both TF-MKL and the SWIRL compiler, showing that an automated code optimization approach achieves performance comparable to hand-tuned libraries and DSL compiler techniques.
机译:卷积神经网络(CNNS)在从自动驾驶汽车到各种医疗保健分支的应用中普遍存在。具有大核心计数和宽SIMD支持的CPU用于HPC集群和超级计算机;因此,除了越来越普遍的GPU实现之外,CNN的高性能CPU实现是有价值的。在本文中,我们描述了SWIRL ++,用于CNN的优化方法,其结合了分析性能模型,以识别最小化CNN执行的数据移动开销的优化策略。我们将模型与Swirl DSL编译器集成,以自动生成CNN的高性能实现,针对缓存层次结构进行优化,以及线程级和SIMD并行性。我们比较带有十sorflow的生成代码的结果,与英特尔的MKL-DNN库(TF-MKL)集成,以及英特尔Xeon 8280 Cascadelake平台上的Pytorch。性能超过Pytorch平均平均2倍,并且平均相当于TF-MKL和SWIRL编译器,表明自动代码优化方法实现了与手动调整库和DSL编译器技术相当的性能。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号