《HotchipsMLIRTutorialIntroFinal.pdf》由会员分享,可在线阅读,更多相关《HotchipsMLIRTutorialIntroFinal.pdf(7页珍藏版)》请在三个皮匠报告上搜索。
1、Stephen NeuendorfferFellowAugust 21,2022MLIR Tutorial|2MLIR Tutorial|August 2022 A New Golden Age for Computer ArchitectureA New Golden Age for CompilersContextHennessey and Patterson,ISCA 2018End of Growth of Single Program Speed?40 years of Processor Performance05201020151000
2、000101Performance vs.VAX11-780CISC2X/3.5 yrs(22%/yr)RISC2X/1.5 yrs(52%/yr)End of Dennard ScalingMulticore2X/3.5 yrs(23%/yr)End of the line?2X/20 yrs(3%/yr)AmdahlsLaw2X/6 yrs(12%/yr)Technology&Power:Dennard Scaling2000200420082000Namometers4.53.62.71.80.90Relative Pow
3、er per nm2|3MLIR Tutorial|August 2022 Next generation open sourcecompiler infrastructure LLVM core projectWell positioned to support this new golden age!MLIR:Multi-Level Intermediate RepresentationMultiple open-source frontend languages(not just ML!)Exascale Fortran,Tensorflow,pytorch-C,HIP/CUDA,SYC
4、LMultiple open-source backendsLLVM,GPU,ACAP,Programmable LogicFrontendBackendMiddle|4MLIR Tutorial|August 2022 DSPUnified TargetsDesign Space Exploration+OptimizationCIRCTPLMLHPCMultiple DomainsEnd-To-End InfrastructureCommunityOpen SourceVendorOpen SourceMLIR-AIEROCmLLVMCPUGPUACAPProprietaryMLIRFut
5、ure Heterogeneous ProgrammingClang|5MLIR Tutorial|August 2022 AgendaMLIR BasicsJacques Pienaar(Google)CPU and GPU Code GenerationHarsh Menon(Nod.AI)BreakML Frontends and TOSASuraj Sudhir(ARM)Hardware Design and CIRCTAndrew Lenhart(SiFive)and John Demme(Microsoft)|6MLIR Tutorial|August 2022 Copyright
6、 and disclaimer 2022 Advanced Micro Devices,Inc.All rights reserved.AMD,the AMD Arrow logo,and combinations thereof are trademarks of Advanced Micro Devices,Inc.Other product names used in this publication are for identification purposes only and may be trademarks of their respective companies.The i
7、nformation presented in this document is for informational purposes only and may contain technical inaccuracies,omissions,and typographical errors.The information contained herein is subject to change and may be rendered inaccurate releases,for many reasons,including but not limited to product and r
8、oadmap changes,component and motherboard version changes,new model and/or product differences between differing manufacturers,software changes,BIOS flashes,firmware upgrades,or the like.Any computer system has risks of security vulnerabilities that cannot be completely prevented or mitigated.AMD ass
9、umes no obligation to update or otherwise correct or revise this information.However,AMD reserves the right to revise this information and to make changes from time to time to the content hereof without obligation of AMD to notify any person of such revisions or changes.THIS INFORMATION IS PROVIDED
10、AS IS.AMD MAKES NO REPRESENTATIONS OR WARRANTIES WITH RESPECT TO THE CONTENTS HEREOF AND ASSUMES NO RESPONSIBILITY FOR ANY INACCURACIES,ERRORS,OR OMISSIONS THAT MAY APPEAR IN THIS INFORMATION.AMD SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OF NON-INFRINGEMENT,MERCHANTABILITY,OR FITNESS FOR ANY PARTICULAR PURPOSE.IN NO EVENT WILL AMD BE LIABLE TO ANY PERSON FOR ANY RELIANCE,DIRECT,INDIRECT,SPECIAL,OR OTHER CONSEQUENTIAL DAMAGES ARISING FROM THE USE OF ANY INFORMATION CONTAINED HEREIN,EVEN IF AMD IS EXPRESSLY ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.