Search found 2096 matches

by cdani
Sun Dec 09, 2018 7:51 pm
Forum: Computer Chess Club: General Topics
Topic: Andscacs test version
Replies: 15
Views: 2682

Re: Andscacs test version

The linux version was Ubuntu. I added to the same file a Centos 7 version. Otherwise it said GLIBC... not found.
by cdani
Sun Dec 09, 2018 11:47 am
Forum: Computer Chess Club: General Topics
Topic: Andscacs test version
Replies: 15
Views: 2682

Andscacs test version

Hello! Maybe someone can test if this test version of Andscacs scales well in nps with more than 64 threads in Windows? Also included is a Linux version that should work well, using events instead of sleep for the waiting threads (Windows version already had this for quite some time), and maybe some...
by cdani
Sat Dec 08, 2018 7:56 am
Forum: Computer Chess Club: General Topics
Topic: Alphazero news
Replies: 381
Views: 46058

Re: Alphazero news

Hello Matthew, nice to see you back after so long !! Does this mean Giraffe will get some updates in the future ? :D Thanks! Afraid not! AlphaZero is taking up all my time these days, and it's a very exciting project with lots of uncharted territory ahead :). AlphaZero is basically what I ever want...
by cdani
Sun Dec 02, 2018 3:31 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Are draws hard to predict?
Replies: 18
Views: 2328

Re: Are draws hard to predict?

chrisw wrote:
Sat Dec 01, 2018 8:42 pm
...LC0 evaluation is optimistic usually, because, er, dunno. Not really thought about it.
I guess it's the result of that the positions it reaches tend to work against himself in selfplay.
by cdani
Tue Nov 27, 2018 11:39 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: threads
Replies: 5
Views: 870

Re: threads

Many thanks to all! I will review all this.
by cdani
Sun Nov 25, 2018 7:28 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: threads
Replies: 5
Views: 870

threads

Hello.
To use threads the same way in Windows and in Linux, I will use pevents:
https://github.com/neosmart/pevents
that emulates events the Windows way in Linux.
Someone has used it? It works well?
Many thanks.
by cdani
Sun Nov 25, 2018 12:09 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: prefetchw
Replies: 0
Views: 687

prefetchw

Hello.
Many engines use prefetch, but how about prefetchw?

https://www.felixcloutier.com/x86/PREFETCHW.html

Maybe can help to win some speed also.
by cdani
Wed Nov 21, 2018 10:56 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Lazy SMP and 44 cores
Replies: 21
Views: 3895

Re: Lazy SMP and 44 cores

In Andscacs there is only one iterative deepening loop in the main thread, which signals all the threads to start searching. About depth of the threads: for (int i = 1; i < NumThreads; i++) { incrementthread[i] = i & 1; } if (NumThreads <= 4) { incrementthread[0] = 0; incrementthread[1] = 1; increme...
by cdani
Mon Nov 12, 2018 7:31 pm
Forum: Computer Chess Club: Tournaments and Matches
Topic: Invictus r228 64-bit Gauntlet for CCRL 40/40
Replies: 4
Views: 923

Re: Invictus r228 64-bit Gauntlet for CCRL 40/40

Invictus Gauntlet 2018 Invictus r228 64-bit - Kingfisher 1.0 64-bit 3.5 - 2.5 +2/=3/-1 58.33% Invictus r228 64-bit - AliChess 4.25 3.5 - 2.5 +3/=1/-2 58.33% Invictus r228 64-bit - Amateur 2.82 1.5 - 4.5 +1/=1/-4 25.00% Invictus r228 64-bit - Ant 2006-F 3.5 - 2.5 +3/=1/-2 58.33% Invictus r228 64-bit...
by cdani
Mon Nov 12, 2018 7:28 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: std::cout or printf
Replies: 27
Views: 3908

Re: std::cout or printf

I use this for Andscacs, I don't remember why: void afout(const char *fmt, ...) { va_list args; char buffer[4096]; va_start(args, fmt); vsprintf(buffer, fmt, args); va_end(args); fprintf(stdout, "%s", buffer); fflush(stdout); } Probably because you Ctrl+V'ed it from Fruit :) This function is just e...