Search found 17071 matches

by bob
Mon Apr 13, 2020 2:26 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Compiler Optimization Question
Replies: 27
Views: 2432

Re: Compiler Optimization Question

Here's the simple answer from a compiler guy. Small functions are just fine. If they SHOULD be inlined, the compiler will do it during the compilation process. If it won't help, it won't. Not inlining can improve cache efficiency if the function is executed infrequently. Better to have the natural i...
by bob
Sun Apr 12, 2020 7:44 pm
Forum: Computer Chess Club: General Topics
Topic: 237 Mn/s for Stockfish on an 2xEPYC 7742
Replies: 81
Views: 11513

Re: 237 Mn/s for Stockfish on an 2xEPYC 7742

This goes 'round and 'round. My take has always been that NPS counts within the SAME program. IE if I can make my program 10% faster, purely by optimizations, then it will be better. If I make it 10% faster by stripping something out, it is not so clear. If A searches at X nodes per second, and B s...
by bob
Sun Apr 12, 2020 3:35 am
Forum: Computer Chess Club: General Topics
Topic: 237 Mn/s for Stockfish on an 2xEPYC 7742
Replies: 81
Views: 11513

Re: 237 Mn/s for Stockfish on an 2xEPYC 7742

so 100 million nodes per second slower? Is that a typo where you meant 100K nodes per second? IE 100,000 KNPS adds 3 more zeros to the end of that 100,000...
by bob
Sun Apr 12, 2020 1:30 am
Forum: Computer Chess Club: General Topics
Topic: Zarkov 4.20?
Replies: 28
Views: 2384

Re: Zarkov 4.20?

Shoot, John posts here when asked a question. Get the answer straight from the source...
by bob
Sat Apr 11, 2020 5:01 am
Forum: Computer Chess Club: General Topics
Topic: 237 Mn/s for Stockfish on an 2xEPYC 7742
Replies: 81
Views: 11513

Re: 237 Mn/s for Stockfish on an 2xEPYC 7742

This goes 'round and 'round. My take has always been that NPS counts within the SAME program. IE if I can make my program 10% faster, purely by optimizations, then it will be better. If I make it 10% faster by stripping something out, it is not so clear. If A searches at X nodes per second, and B se...
by bob
Thu Apr 09, 2020 7:58 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Compiling crafty 25.6
Replies: 6
Views: 631

Re: Compiling crafty 25.6

Should inline naturally, but it won't hurt. Or you can just compile "crafty.c" which will solve it as well, maybe faster executable.
by bob
Thu Apr 09, 2020 4:46 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Compiling crafty 25.6
Replies: 6
Views: 631

Re: Compiling crafty 25.6

There is still a "crafty.c" file that #includes all source files. That should avoid this at the expense of increased compile time with the gain of better function inlining/unrolling.
by bob
Tue Apr 07, 2020 5:25 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: The devilish fail low
Replies: 34
Views: 2632

Re: The devilish fail low

Indeed it seems never good to spend a much different time as your opponent. Even if the opponent thinks much faster or slower than what is objectively optimal, you should at least partly (perhaps as much as 80%) adapt to him, rather than stick to the ideal schedule. As to reductions: these only man...
by bob
Sun Apr 05, 2020 9:51 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: FEN and 3rd repetition rule. No information?
Replies: 46
Views: 3382

Re: FEN and 3rd repetition rule. No information?

My problem with that is as follows: When you play a game, do you decide when to offer/accept a draw or when to resign, or do you ask someone else (who is not even familiar with the current game)? I personally like to make my own decisions. I know what is going on in the game, regardless of the curr...
by bob
Sun Apr 05, 2020 9:46 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: FEN and 3rd repetition rule. No information?
Replies: 46
Views: 3382

Re: FEN and 3rd repetition rule. No information?

The only "interface" I care about is the one on the G.U.I. The Graphical User Interface, and what I can do with it. If I want to run a tourney where games are adjudicated as draws or the games are resigned when both engines agree continuing is a waste of time, I do that in the GUI. And it works. Th...