使用openmp并发编程求最小生成树

上传者: 21112811 | 上传时间: 2022-06-16 02:15:38 | 文件大小: 1.03MB | 文件类型: ZIP
使用openmp进行并发编程,求最小生成树。结果显示不同个数的cpu所需时间以及加速比。运行环境在visual studio2013,同时需要开启openmp功能。注释详细,主要难点在于如何将最大部分不存在依赖关系的代码块分割开来进行并发运行。应该首先了解openmp语言。

文件下载

资源详情

[{"title":"( 35 个子文件 1.03MB ) 使用openmp并发编程求最小生成树","children":[{"title":"mininumTree","children":[{"title":"Debug","children":[{"title":"MininumSpanningTree.ilk <span style='color:#111;'> 229.90KB </span>","children":null,"spread":false},{"title":"MininumSpanningTree.exe <span style='color:#111;'> 31.50KB </span>","children":null,"spread":false},{"title":"MininumSpanningTree.pdb <span style='color:#111;'> 435.00KB </span>","children":null,"spread":false}],"spread":true},{"title":"mininumTree.sln <span style='color:#111;'> 985B </span>","children":null,"spread":false},{"title":"Project1","children":[{"title":"Project1.vcxproj.filters <span style='color:#111;'> 958B </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"vc120.pdb <span style='color:#111;'> 76.00KB </span>","children":null,"spread":false},{"title":"Project1.log <span style='color:#111;'> 1.57KB </span>","children":null,"spread":false},{"title":"MininumS.60D076E5.tlog","children":[{"title":"cl.command.1.tlog <span style='color:#111;'> 626B </span>","children":null,"spread":false},{"title":"CL.read.1.tlog <span style='color:#111;'> 2.00KB </span>","children":null,"spread":false},{"title":"link.read.1.tlog <span style='color:#111;'> 2.40KB </span>","children":null,"spread":false},{"title":"link.write.1.tlog <span style='color:#111;'> 614B </span>","children":null,"spread":false},{"title":"CL.write.1.tlog <span style='color:#111;'> 596B </span>","children":null,"spread":false},{"title":"MininumSpanningTree.lastbuildstate <span style='color:#111;'> 176B </span>","children":null,"spread":false},{"title":"link.command.1.tlog <span style='color:#111;'> 1.27KB </span>","children":null,"spread":false}],"spread":true},{"title":"mininumSpanningTree.obj <span style='color:#111;'> 7.39KB </span>","children":null,"spread":false}],"spread":true},{"title":"Project1.vcxproj <span style='color:#111;'> 3.44KB </span>","children":null,"spread":false},{"title":"mininumTree.cpp <span style='color:#111;'> 3.66KB </span>","children":null,"spread":false},{"title":"Project1.vcxproj.user <span style='color:#111;'> 165B </span>","children":null,"spread":false},{"title":"mininumSpanningTree.c <span style='color:#111;'> 5.88KB </span>","children":null,"spread":false},{"title":"Release","children":[{"title":"vc120.pdb <span style='color:#111;'> 340.00KB </span>","children":null,"spread":false},{"title":"Project1.log <span style='color:#111;'> 444B </span>","children":null,"spread":false},{"title":"chapter4.obj <span style='color:#111;'> 695.28KB </span>","children":null,"spread":false},{"title":"MininumS.60D076E5.tlog","children":[{"title":"cl.command.1.tlog <span style='color:#111;'> 3.72KB </span>","children":null,"spread":false},{"title":"CL.read.1.tlog <span style='color:#111;'> 2.01KB </span>","children":null,"spread":false},{"title":"link.read.1.tlog <span style='color:#111;'> 3.11KB </span>","children":null,"spread":false},{"title":"link.write.1.tlog <span style='color:#111;'> 424B </span>","children":null,"spread":false},{"title":"MininumSpanningTree.lastbuildstate <span style='color:#111;'> 169B </span>","children":null,"spread":false},{"title":"link.command.1.tlog <span style='color:#111;'> 5.38KB </span>","children":null,"spread":false},{"title":"cl.write.1.tlog <span style='color:#111;'> 412B </span>","children":null,"spread":false}],"spread":false},{"title":"mininumSpanningTree.obj <span style='color:#111;'> 18.99KB </span>","children":null,"spread":false}],"spread":true},{"title":"chapter4.cpp~RFdb12c9.TMP <span style='color:#111;'> 133B </span>","children":null,"spread":false}],"spread":true},{"title":"mininumTree.v12.suo <span style='color:#111;'> 46.50KB </span>","children":null,"spread":false},{"title":"Release","children":[{"title":"MininumSpanningTree.exe <span style='color:#111;'> 8.00KB </span>","children":null,"spread":false},{"title":"MininumSpanningTree.pdb <span style='color:#111;'> 259.00KB </span>","children":null,"spread":false}],"spread":true},{"title":"mininumTree.sdf <span style='color:#111;'> 2.13MB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明