0
How to implement OpenMP to monte carlo stimulation
I am studying OpenMP and need to implement it into the monte carlo simulation for estimating probability of consecutive kings in a Shuffled Deck. However, after I implemented it, the time taken still has not reduced as much as expected. Especially for the time taken for 100000 and 1000000 times, the result is 9.5-10 second and 100-110 second but I hope that the result can be reduced in a huge way. Thank for helping of possible and provide the code to help. https://code.sololearn.com/cfrXvA6YLy9l/?ref=app
1 Resposta
0
https://code.sololearn.com/c5sg4yRB5gb7/?ref=app