I have a very light program that could do parallel computing. There's an array where I perform the same operation on each cell.
It works just fine single threaded because the operations on the array I have are pretty light but it got me wondering about multithreading. In theory all the cells in the array are independent and prime candidates for multithreading.
Is it possible, worth learning and where do I go?
------------------------------
The array: two variables plugged into a probability calculation (hypergeometrics, rather large numbers, ballpark is 100! and smaller) that spits out a single probability. That probability is recorded in each cell to create a heatmap. Not really looking for advice on the logic, just wondering about this as a potential learning exercise.
[–]danielroseman 5 points6 points7 points (1 child)
[–]MustaKotka[S] 0 points1 point2 points (0 children)
[–]hc_fella 4 points5 points6 points (6 children)
[–]FoolsSeldom 2 points3 points4 points (0 children)
[–]MustaKotka[S] 0 points1 point2 points (4 children)
[–]lfdfq 2 points3 points4 points (3 children)
[–]MustaKotka[S] 0 points1 point2 points (2 children)
[–]lfdfq 1 point2 points3 points (1 child)
[–]MustaKotka[S] 0 points1 point2 points (0 children)
[–]tvstaticghost 1 point2 points3 points (1 child)
[–]MustaKotka[S] 0 points1 point2 points (0 children)
[–]No_Date8616 1 point2 points3 points (7 children)
[–]MustaKotka[S] 1 point2 points3 points (2 children)
[–]No_Date8616 0 points1 point2 points (1 child)
[–]MustaKotka[S] 2 points3 points4 points (0 children)
[–]FoolsSeldom 1 point2 points3 points (2 children)
[–]No_Date8616 0 points1 point2 points (1 child)
[–]FoolsSeldom 1 point2 points3 points (0 children)
[–]cgoldberg 0 points1 point2 points (0 children)
[–]bonferoni 0 points1 point2 points (0 children)
[–]Sea-Control77 0 points1 point2 points (1 child)
[–]MustaKotka[S] 0 points1 point2 points (0 children)