Coder Social home page Coder Social logo

Comments (13)

Luecx avatar Luecx commented on July 20, 2024 1

Thank you! Will change it asap

from koivisto.

Luecx avatar Luecx commented on July 20, 2024

200 Elo seems very extreme.
Considering that the engine is deterministic, such a elo difference could only be explained by having a 10x speedup.
What did you try to test them against each other?

from koivisto.

Luecx avatar Luecx commented on July 20, 2024

I will have a look at it myself real quick

from koivisto.

tryingsomestuff avatar tryingsomestuff commented on July 20, 2024

I'm using cutechess tourney. Short TC, 10s+0.1.
I'm running a 3s+0.1 now with koivisto_cmake_make and koivisto_native to show you some results.

Nps are indeed of my x5!

Koivisto_native : 2Mnps
Koivisto_cmake_root_dir : 0.4Mnps

Score of Koivisto vs Koivisto_cmake_make: 13 - 0 - 3 [0.906]
...      Koivisto playing White: 8 - 0 - 0  [1.000] 8
...      Koivisto playing Black: 5 - 0 - 3  [0.813] 8
...      White vs Black: 8 - 5 - 3  [0.594] 16
Elo difference: 394.1 +/- nan, LOS: 100.0 %, DrawRatio: 18.8 %
16 of 999999 games finished.

from koivisto.

tryingsomestuff avatar tryingsomestuff commented on July 20, 2024

Is the default cmake target a debug executable ?

from koivisto.

Luecx avatar Luecx commented on July 20, 2024

It is missing optimization flags.
I use CLion and I can choose if the cmake shall be used as a debug or release build.

I assume the default one is a debug build.

Thanks for pointing this out!

from koivisto.

Luecx avatar Luecx commented on July 20, 2024

Do you have an idea on how this could we solved?

Would is just help to just add O3 to the cmakelists.txt?

from koivisto.

tryingsomestuff avatar tryingsomestuff commented on July 20, 2024

Maybe the question is why having 2 build process ?

from koivisto.

tryingsomestuff avatar tryingsomestuff commented on July 20, 2024

Yes maybe adding

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O3")

might help

from koivisto.

Luecx avatar Luecx commented on July 20, 2024

One build-process is used for development using CLion. Although we strongly recommend using the makefile which is far more optimised.

from koivisto.

Luecx avatar Luecx commented on July 20, 2024

Have you tested if your proposed change works?

from koivisto.

tryingsomestuff avatar tryingsomestuff commented on July 20, 2024

yep, looks like same nps and strength follows

from koivisto.

Luecx avatar Luecx commented on July 20, 2024

Fixed it. The last thing is that the version number is not correct when building with cmake. But this does not really matter :)

from koivisto.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.