Open MP chess SMP study

Discussion of chess software programming and technical issues.

Moderators: hgm, Harvey Williamson, bob

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
Post Reply
Dann Corbit
Posts: 9635
Joined: Wed Mar 08, 2006 7:57 pm
Location: Redmond, WA USA
Contact:

Open MP chess SMP study

Post by Dann Corbit » Sat Jan 05, 2019 1: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
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: 76
Joined: Thu Oct 06, 2016 7:17 pm
Location: India
Contact:

Re: Open MP chess SMP study

Post by mkchan » Sat Jan 05, 2019 6:23 am

Dann Corbit wrote:
Sat Jan 05, 2019 1: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.

Post Reply