Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Crafty Smp Info & End Game Tweak

Author: Robert Hyatt

Date: 14:58:32 10/25/01

Go up one level in this thread


On October 25, 2001 at 16:17:44, Nolan Denson wrote:

>Hello everyone ... Just wondering...What files are involed such as chess.c etc
>... that makes crafty play in SMP mode.

primarily search.c, thread.c, searchmp.c.  search.c contains the code that
calls thread() to do a threaded parallel search.  thread.c sets things up
and handles all the bookkeeping.  searchmp.c searches a particular node in
parallel after the first move has already been searched...

chess.h does define some data structures (split blocks) that are used,
one per thread per split-point in the tree...



>
>Also does anyone know what files The Dr tweaked to make crafty play better
>endgames.  It does play much better.

quiesce.c and evaluate.c  In evaluate.c the function EvaluateWinner() is
new and came from the old EvaluateDraws().  It returns a 2-bit value, 00->
the position is dead drawn, 01-> white can win but not black, 10-> black can
win but not white, 11->either can win.




This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.