欢迎来到天天文库
浏览记录
ID:40104183
大小:3.25 MB
页数:246页
时间:2019-07-21
《The OpenCL Programming Book》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、TheOpenCLProgrammingBookTheOpenCLProgrammingBook.Copyright©2010FixstarsCorporation.Allrightsreserved.BasedonTheImpressJapanCorporationpublication"TheOpenCLProgrammingBook(OpenCLNyumon)"byFixstarsCorporation.Printededitioncopyright©2009FixstarsCorporationandImpressJapan
2、Corporation.Allrightsreserved.Thecompanynames,productnames,andservicenamesareregisteredtrademarks,ortrademarksthatbelongtothecorrespondingcompanies.The®,™,and©marksarehowevernotincludedincourseofthetext.FixstarsCorporationsmaynotbeheldresponsibleforanydamagescausedfrom
3、usageofthebookcontent.ThecontentofthebookisuptodateasofMarch,2010.Theproduct/servicenamesintroducedinthebookmaypotentiallychangeovertime.2TheOpenCLProgrammingBookContentsForeword4Foreword6Acknowledgment7AboutheAuthors8IntroductiontoParallelization10WhyParallel10Paralle
4、lComputing(Hardware)10ParallelComputing(Software)15Conclusion30OpenCL31WhatisOpenCL?31HistoricalBackground31AnOverviewofOpenCL34WhyOpenCL?36ApplicablePlatforms37OpenCLSetup41AvailableOpenCLEnvironments41DevelopingEnvironmentSetup44FirstOpenCLProgram51BasicOpenCL59Basic
5、ProgramFlow59Online/OfflineCompilation67CallingtheKernel77AdvancedOpenCL98OpenCLC98OpenCLProgrammingPractice131CaseStudy164FFT(FastFourierTransform)164MersenneTwister200Notes2453TheOpenCLProgrammingBookForeword“Thefreelunchisover.”Thehistoryofcomputinghasenteredanewera
6、.Untilafewyearsago,theCPUclockspeeddeterminedhowfastaprogramwillrun.IvividlyrecallhavingadiscussiononthetopicofsoftwareperformanceoptimizationwithaSystemEngineerbackin2000,towhichhisstancewas,“thepassingoftimewilltakecareofitall,”duetotheimprovingtechnology.However,wit
7、htheCPUclockspeedlevelingoffataround2005,itisnowsolelyuptotheprogrammertomakethesoftwarerunfaster.Thefreelunchisover.TheprocessorvendershavegivenuponincreasingCPUclockspeed,andarenowtakingtheapproachofraisingthenumberofcoresperprocessorinordertogainperformancecapabilit
8、y.Inrecentyears,manymulti-coreprocessorswereborn,andmanydevelopingmethodswereproposed.Programmerswereforcedtogrudging
此文档下载收益归作者所有