bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FW: [Bug-gnubg] Simple multi-threading... Cache


From: Jonathan Kinsey
Subject: Re: FW: [Bug-gnubg] Simple multi-threading... Cache
Date: Tue, 23 Jan 2007 12:46:01 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.0.9) Gecko/20061207 Thunderbird/1.5.0.9 Mnenhy/0.7.4.0

Jonathan Kinsey wrote:
> Jim Segrave wrote:
>> Yes - cache entries are indexed by position and evaluation (although,
>> as I recall, it's evaluation type and no. of plies, so if you were
>> doing 2-ply evaluations with different move filters for different
>> players, I think it would not see the difference in evaluations.
>>
> 
> I've had a look at where multiple evaluations differ (with the same
> cache lookup values - basically the same position/eval settings).  It
> turns out it's to do with the NNevalAction/State thing, one time it
> calculates Evaluate128() and the other EvaluateFromBase128() - they
> produce different answers.
> 
> This is single threaded - still not sure exactly how the state things
> work, maybe I've broken that logic!...

Just checked with the pre-multi threaded source and I get the same
issue.  So might be a problem (or a "feature") with the FromBase
evaluation shortcut.

Jon

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]