Where to find CFish 11 Latest exe file

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Rebel, chrisw

syzygy
Posts: 5569
Joined: Tue Feb 28, 2012 11:56 pm

Re: Where to find CFish 11 Latest exe file

Post by syzygy »

ehas wrote: Sun Jul 05, 2020 5:08 am Is there a site wherein we can download latest exe?
https://github.com/syzygy1/Cfish/releas ... h_11_fixed

I've just uploaded two binaries, one for Linux and one for Windows. They should work on Haswell and later. They are BMI2 versions, so won't work great on Ryzen.

Tell me what you need and I will see what I can do.
maxdeg
Posts: 229
Joined: Thu Mar 10, 2016 6:17 pm
Location: Canada

Re: Where to find CFish 11 Latest exe file

Post by maxdeg »

syzygy wrote: Sun Jul 05, 2020 10:53 pm
ehas wrote: Sun Jul 05, 2020 5:08 am Is there a site wherein we can download latest exe?
https://github.com/syzygy1/Cfish/releas ... h_11_fixed

I've just uploaded two binaries, one for Linux and one for Windows. They should work on Haswell and later. They are BMI2 versions, so won't work great on Ryzen.

Tell me what you need and I will see what I can do.
:D
Many thanks.
+3
ehas
Posts: 7
Joined: Fri Jan 04, 2019 1:30 pm
Full name: Eric Hughes Santiago

Re: Where to find CFish 11 Latest exe file

Post by ehas »

syzygy wrote: Sun Jul 05, 2020 10:53 pm
ehas wrote: Sun Jul 05, 2020 5:08 am Is there a site wherein we can download latest exe?
https://github.com/syzygy1/Cfish/releas ... h_11_fixed

I've just uploaded two binaries, one for Linux and one for Windows. They should work on Haswell and later. They are BMI2 versions, so won't work great on Ryzen.

Tell me what you need and I will see what I can do.
It would be great if we can have for AMD Cpu's also. I'm currently using an AMD processor.

Thank you in advance.
User avatar
Ovyron
Posts: 4556
Joined: Tue Jul 03, 2007 4:30 am

Re: Where to find CFish 11 Latest exe file

Post by Ovyron »

Alayan wrote: Sun Jul 05, 2020 1:38 pm CFish did reach version 11, last week.
Weird that this is what I see :shock:

Image

Regardless, I appreciate syzygy keeps working on CFish, those 500 kn/s extra speed I get are very apparent (it's a 20% speedup), last CFish from December kept outperforming everything else for 6 months :shock: - it has became the best derivative for my machine.
User avatar
MikeB
Posts: 4889
Joined: Thu Mar 09, 2006 6:34 am
Location: Pen Argyl, Pennsylvania

Re: Where to find CFish 11 Latest exe file

Post by MikeB »

ehas wrote: Mon Jul 06, 2020 3:43 am
syzygy wrote: Sun Jul 05, 2020 10:53 pm
ehas wrote: Sun Jul 05, 2020 5:08 am Is there a site wherein we can download latest exe?
https://github.com/syzygy1/Cfish/releas ... h_11_fixed

I've just uploaded two binaries, one for Linux and one for Windows. They should work on Haswell and later. They are BMI2 versions, so won't work great on Ryzen.

Tell me what you need and I will see what I can do.
It would be great if we can have for AMD Cpu's also. I'm currently using an AMD processor.

Thank you in advance.
For AMD Threadrippers ,-has -bmi flag , but no -bmi2. If it works, great! , if not sayonara.


https://github.com/MichaelB7/Cfish/tree/private/src (exe is in src folder)

Code: Select all

cfish  bench >/dev/null
===========================
Total time (ms) : 1611
Nodes searched  : 4431626
Nodes/second    : 2750854
ymmv
Image
syzygy
Posts: 5569
Joined: Tue Feb 28, 2012 11:56 pm

Re: Where to find CFish 11 Latest exe file

Post by syzygy »

ehas wrote: Mon Jul 06, 2020 3:43 am
syzygy wrote: Sun Jul 05, 2020 10:53 pm
ehas wrote: Sun Jul 05, 2020 5:08 am Is there a site wherein we can download latest exe?
https://github.com/syzygy1/Cfish/releas ... h_11_fixed

I've just uploaded two binaries, one for Linux and one for Windows. They should work on Haswell and later. They are BMI2 versions, so won't work great on Ryzen.

Tell me what you need and I will see what I can do.
It would be great if we can have for AMD Cpu's also. I'm currently using an AMD processor.
Ryzen?

edit: Then I guess MikeB's compile should work. I will add it to the Release page later today. (Thanks MikeB!)
maxdeg
Posts: 229
Joined: Thu Mar 10, 2016 6:17 pm
Location: Canada

Re: Where to find CFish 11 Latest exe file

Post by maxdeg »

:D
Mac version please !
Somebody !
:D
User avatar
MikeB
Posts: 4889
Joined: Thu Mar 09, 2006 6:34 am
Location: Pen Argyl, Pennsylvania

Re: Where to find CFish 11 Latest exe file

Post by MikeB »

maxdeg wrote: Mon Jul 06, 2020 4:24 pm :D
Mac version please !
Somebody !
:D
Max you can find some here
https://github.com/MichaelB7/Cfish/tree/master/src

Bonth clang and gcc - gcc are the fastest for me - clang is the most compatible with other users. Strangely, the Popcnt version is now fastest on my bmi2 CPU mac. I also updated the source in type.h so that they can compile on the macOS if one was having issues before. Sorry that the diff in Github showed everything a being changed - not sure what happened there.

I had to add size_t and long to the max, min and clamp functions to compile on macOS -:

#define MAX(T) INLINE T max_##T(T a, T b) { return a > b ? a : b; }
MAX(int)
MAX(uint64_t)
MAX(unsigned)
MAX(int64_t)
MAX(uint8_t)
MAX(double)
MAX(size_t)
MAX(long)
#undef MAX

#define MIN(T) INLINE T min_##T(T a, T b) { return a < b ? a : b; }
MIN(int)
MIN(uint64_t)
MIN(unsigned)
MIN(int64_t)
MIN(uint8_t)
MIN(double)
MIN(size_t)
MIN(long)
#undef MIN

#define CLAMP(T) INLINE T clamp_##T(T a, T b, T c) { return a < b ? b : a > c ? c : a; }
CLAMP(int)
CLAMP(uint64_t)
CLAMP(unsigned)
CLAMP(int64_t)
CLAMP(uint8_t)
CLAMP(double)
CLAMP(size_t)
CLAMP(long)
#undef CLAMP

#define max(a,b) _Generic((a), \
int: max_int, \
uint64_t: max_uint64_t, \
unsigned: max_unsigned, \
int64_t: max_int64_t, \
uint8_t: max_uint8_t, \
double: max_double, \
size_t: max_size_t, \
long: max_long \
) (a,b)

#define min(a,b) _Generic((a), \
int: min_int, \
uint64_t: min_uint64_t, \
unsigned: min_unsigned, \
int64_t: min_int64_t, \
uint8_t: min_uint8_t, \
double: min_double, \
size_t: min_size_t, \
long: min_long \
) (a,b)

#define clamp(a,b,c) _Generic((a), \
int: clamp_int, \
uint64_t: clamp_uint64_t, \
unsigned: clamp_unsigned, \
int64_t: clamp_int64_t, \
uint8_t: clamp_uint8_t, \
double: clamp_double, \
size_t: clamp_size_t, \
long: clamp_long \
) (a,b,c)
Image
maxdeg
Posts: 229
Joined: Thu Mar 10, 2016 6:17 pm
Location: Canada

Re: Where to find CFish 11 Latest exe file

Post by maxdeg »

MikeB wrote: Mon Jul 06, 2020 6:58 pm
Max you can find some here
https://github.com/MichaelB7/Cfish/tree/master/src

Thank you very much Mike .. :D
+3
syzygy
Posts: 5569
Joined: Tue Feb 28, 2012 11:56 pm

Re: Where to find CFish 11 Latest exe file

Post by syzygy »

syzygy wrote: Mon Jul 06, 2020 10:11 am
ehas wrote: Mon Jul 06, 2020 3:43 am
syzygy wrote: Sun Jul 05, 2020 10:53 pm
ehas wrote: Sun Jul 05, 2020 5:08 am Is there a site wherein we can download latest exe?
https://github.com/syzygy1/Cfish/releas ... h_11_fixed

I've just uploaded two binaries, one for Linux and one for Windows. They should work on Haswell and later. They are BMI2 versions, so won't work great on Ryzen.

Tell me what you need and I will see what I can do.
It would be great if we can have for AMD Cpu's also. I'm currently using an AMD processor.
Ryzen?

edit: Then I guess MikeB's compile should work. I will add it to the Release page later today. (Thanks MikeB!)
It seems MikeB's compile corresponds to current master, not to Cfish 11.