Open main menu

CDOT Wiki β

Changes

GPU621/Go Parallel

56 bytes added, 20:52, 19 November 2020
no edit summary
|}
'''Note :'''
Go is using 1 CPU core with the max number of threads available on the OS. Where as C++ is using 8 threads. Go is using default complier compiler settings. C++ is using G++ at O3 optimization.
The difference is to large to be shown on a graph.
=== Ease of Use ===
Overall, the ease of use of Go is much simpler as Go has built-in support for concurrency and parallelism. While, C++ needs the assistance of external dependencies like open MP. The other thing Go uses CPU cores and then threads it on each core available with the max amount of threads available making the comparison sort of unfair as Go is automatically using the best configuration for the solution. While, In C++ with open MP you have to specify how many to use externally. Go is jsut just much easier to use an implement a parallel/Concurrent solution than C++.
== Relevance ==
Update 5: Tuesday, Nov 17, 2020 - Created 'Why you should Go Parallel'
 
Update 6: Thursday, Nov 19th, 2020 - Added Differences
Update 6: Thursday, Nov 19th, 2020 - Added all parts of project onto project website
35
edits