码迷,mamicode.com
首页 > 其他好文 > 详细

OpenMP The Game of Life

时间:2020-02-25 19:40:04      阅读:56      评论:0      收藏:0      [点我收藏+]

标签:execution   choices   邮箱   dep   ice   explain   div   logical   for   


OpenMP Independent In-Class Coursework – The Game of Life
The aim of this assignment is to write a parallel version of Conway’s Game of Life using OpenMP.
You can take as a starting point the serial code provided to you. You may modify this code and
improve it in order to improve its efficiency, in particular, you should use OpenMP to accelerate its
execution.
You should make sure that your code compiles, and that it works correctly at all times. You should
also instrument and report the run times for your local system. Before the main, add as comments
the following information: Your CID, your email, compiler used, operating system, the number of
logical processors of your computer, the serial execution time, and parallel execution time for one
run (100 steps, 100x100 case).
You should document your code and explain why you made the parallelisation choices you made.
Explain briefly in the code why you use each pragma and its options. If you make changes to the
original code, explain briefly why these changes improve performance.
Bonus Points: You can also hand in a short analysis of the performance of your code.
The assignment is individual and is to be uploaded to GitHub at 12:15 on Feb 21st 2020.
Happy Coding.

如有需要,请加QQ:99515681 或邮箱:99515681@qq.com 微信:codehelp

OpenMP The Game of Life

标签:execution   choices   邮箱   dep   ice   explain   div   logical   for   

原文地址:https://www.cnblogs.com/comone/p/12363137.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!