Open MP chess SMP study

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

Dann Corbit
Posts: 12540
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Open MP chess SMP study

Post by Dann Corbit »

I think this is the first project I have looked over that used Open MP to do the SMP for a chess search study:
https://github.com/hennimohammed/parallel_chess_engine
Taking ideas is not a vice, it is a virtue. We have another word for this. It is called learning.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.
mkchan
Posts: 88
Joined: Thu Oct 06, 2016 9:17 pm
Location: India

Re: Open MP chess SMP study

Post by mkchan »

Dann Corbit wrote: Sat Jan 05, 2019 2:25 am I think this is the first project I have looked over that used Open MP to do the SMP for a chess search study:
https://github.com/hennimohammed/parallel_chess_engine
I had done it myself for perft but it didn't seem to scale as well as making a thread pool myself and doing it. I had figured there was some overhead I didn't know about plus it's a bit annoying to do nested parallelism with.