资源预览内容
第1页 / 共4页
第2页 / 共4页
第3页 / 共4页
第4页 / 共4页
亲,该文档总共4页全部预览完了,如果喜欢就下载吧!
资源描述
Fundamental Concepts of Parallel ProgrammingZJU-Intel Embedded Technology Centerhttp:/embedded.zju.edu.cnDesigning for ThreadspTask DecompositionpData DecompositionpData Flow DecompositionDecompositi onDesignCommentsTaskDifferent activities assigned to different threadsCommon in GUI appsDataMultiple thread performing the same operation but on different blocks of dataCommon in audio processing, imaging, and in scientific programmingData FlowOne threads output is the input to a second threadSpecial care is needed to eliminate startup and shutdown latenciesZJU-Intel Embedded Technology Centerhttp:/embedded.zju.edu.cnChallengespSynchronizationnThe process by which two or more threads coordinate their activitiespCommunicationnThe bandwidth and latency issues associated with exchanging data between threadspLoad balancingnThe distribution of work across multiple threads so that they all perform roughly the same amount of workpScalabilitynThe challenge of making efficient use of a larger number of threads when software is run on more-capable systemsZJU-Intel Embedded Technology Centerhttp:/embedded.zju.edu.cnParallel Programming PatternsPatternDecompositionTask-level parallelismTaskDivide and ConquerTask/DataGeometric DecompositionDataPipelineData FlowWavefrontData Flow
收藏 下载该资源
网站客服QQ:2055934822
金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号