欢迎来到天天文库
浏览记录
ID:34280489
大小:3.00 MB
页数:185页
时间:2019-03-04
《CUDA_C_Programming_Guide .pdf》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、NVIDIACUDA™NVIDIACUDACProgrammingGuideVersion4.04/6/2011ChangesfromVersion3.2ReplacedallmentionsofthedeprecatedcudaThread*functionsbythenewcudaDevice*names.Updatedallmentionsoftexture<…>tousethenewcudaTextureType*macros.UpdatedSections2.2,B.16,andF
2、.1nowthatthree-dimensionalgridsaresupportedfordevicesofcomputecapability2.0andabove.RewrotetheprefaceofChapter3.RemovedfromtheprefaceofSection3.2theparagraphaboutanyresourceallocatedinahostthreadbeingonlyvalidwithinthecontextofthehostthread,asthisis
3、nolongertrue.AddedSection3.2.1onhowtheruntimeisinitialized.ReformulatedSections3.2.4.1and3.2.4.3asaconsequenceofthechangestomulti-deviceprogrammingandtheintroductionofaunifiedvirtualaddressspace.MentionedinSections3.2.4and3.3.6thenewabilitytopage-l
4、ockhostmemoryallocatedbymalloc().MentionedthenewasyncEngineCountdevicepropertyinSection3.2.5.4.MentionedintheprefaceofSection3.2.5.5thatcommandsinastreammaybeissuedbydifferenthostthreads.UpdatedSection3.2.6withalltheimprovementstomulti-deviceprogra
5、mming.AddednewSections3.2.7and3.3.9onunifiedvirtualaddressspace.AddedSection3.2.10.1.5onlayeredtextures.UpdatedSection3.2.11.1nowthatOpenGLtexturescanbemappedasCUDAarraystosurfaceforwritingandunormalizedintegerformatsaresupported.UpdatedSection3.3
6、tousethenewdriverAPItolaunchkernels(cuLaunchKernel()).MentionedthenewCU_DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNTdeviceattributeinSection3.3.7.MentionedlayeredtexturesinSection3.3.12.1.ModifiedSection3.4sincecuCtxGetCurrent()isnowrecommendedinsteadofcuCt
7、xAttach()toretrievetheprimarycontextofadevice.AddedGeForceGTX570andGeForceGTX560TitoTableA-1.AddedmoredetailsinSectionB.14.2onwhentheoutputbufferforprintf()isflushed.Added#if/#endiftotheexampleofSectionB.14.4forthecodetocompileondevicesofcomputecap
8、abilitylessthan2.0.Updatedthemaximumulperrorforerfc()from5to4inTableC-2.Addedcospif()toTableC-1.iiCUDACProgrammingGuideVersion4.0Addedcospi()toTableC-2.AddedSectionsB.8.5andB.8.6ontex1DLayered()andtex2DLayered()respectively.MovedTableC-3f
此文档下载收益归作者所有