96
edits
Changes
→Assignment 3
'''Parallelizing
=== Assignment 2 ===
[[File:Prof.PNG]] <br>
Profiling the code shows that '''cudaMallocmemcpy''' takes up most of the time spent. Even when <br>
there are 10 iterations, the time remains at 300 milliseconds. <br>
As the iteration passes 25 million, we have a bit of memory leak which results in inaccurate results. <br><br>