96
edits
Changes
→Assignment 2
=== Assignment 2 ===
----
In order to parallelize the code from above, we decided to use a kernel to handle the calculations.
The logic remains the same but the results are much faster.
Offloading to the GPU results in a pi calculation time to be reduced
<br>
[[File:Pi_calculation.png|400px600px]]
<br>
'''Kernel code used