Search found 821 matches

by elcabesa
Mon Jan 06, 2020 9:45 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Stockfish score multiplication
Replies: 4
Views: 639

Re: Stockfish score multiplication

I'm just off topic, but if you like you can use an extension of gcc and clang using Score = int __attribute__ ((vector_size (16))); // a vector of int of size 16 bytes Score a = {1,2,0,0}; Score b = {5,-6,0,0}; Score res = a + b;// {6,-4,0,0} Score res2 = 2 * a; // {2,4,0,0} it will use simd instruc...
by elcabesa
Fri Jan 03, 2020 9:41 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Minic raw speed
Replies: 26
Views: 2680

Re: Minic raw speed

xr_a_y wrote:
Fri Jan 03, 2020 9:36 am
- On another hardware (a dual xeon with 20 cores), single thread perf is 800knps and it scale bad very soon, final perf beging around 23Mnps
what does it means? 28X with 40 cores?
how does it scales another program i.e.stockfish on the dual xeon with 20 cores?
by elcabesa
Fri Jan 03, 2020 8:24 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Minic raw speed
Replies: 26
Views: 2680

Re: Minic raw speed

Back on the same subject ... I'm trying to investigate why Minic is slow. .... .... I don't get why SMP Minic is so slow at TCEC ...only 70Mnps on 176 threads, where many others are around 120Mnps I don't have understood if minic is slow or if it's slow only on 176 threads. Depending on this answer...
by elcabesa
Tue Dec 31, 2019 7:17 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: UCI pondering and time management
Replies: 3
Views: 341

Re: UCI pondering and time management

my time management algorithm is quite simple when pondering. Vajolet starts pondering then as soon as a "ponderhit" is received the standard time management starts and Vajolet allocate time based only on his own time. I do the same when playing in real chess, I ponder on the opponent time, but as so...
by elcabesa
Sun Dec 29, 2019 1:46 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: ELO value of TTSE?
Replies: 5
Views: 587

Re: ELO value of TTSE?

stockfish authors report directly in their code an elo gain of ~60 Elo
by elcabesa
Sun Dec 29, 2019 11:19 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Trying to understand check evasion move generation.
Replies: 4
Views: 545

Re: Trying to understand check evasion move generation.

regarding the first question I don't have an answer, regarding the second one (king moves) remember that Texel move generator create a list of pseudo legal moves, is the search that check that the move is legal before making the move. Probably it has been measured that this way of generating moves, ...
by elcabesa
Mon Dec 23, 2019 5:18 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Bug in my engine
Replies: 24
Views: 1091

Re: Bug in my engine

no, change mate score when saving and retrieving from TT. look at stockfish code :) line 1375 of search.cpp, take a look at value_from_tt posKey = pos.key(); tte = TT.probe(posKey, ttHit); ************** ttValue = ttHit ? value_from_tt(tte->value(), ss->ply, pos.rule50_count()) : VALUE_NONE;********...
by elcabesa
Mon Dec 23, 2019 4:24 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Bug in my engine
Replies: 24
Views: 1091

Re: Bug in my engine

You solved the bug by not saving the mate scores in hash tables. Looking at your code I saw that you managed TT values in a wrong way in your code. I don't know if it's the real bug, or if there are some other bugs in the code. mate score are relative to ply ( mate in 11 ply from here, so when you s...