TexasSolver icon indicating copy to clipboard operation
TexasSolver copied to clipboard

CUDA

Open zikkuratti opened this issue 1 year ago • 17 comments

If i considering rewriting the calculation module to use CUDA cores, could you please advise from which file the calculation begins?

zikkuratti avatar Sep 28 '23 09:09 zikkuratti

Can it really be done? I remember reading some peper says it's impossible.

Anyway you should check https://github.com/bupticybee/TexasSolver/blob/master/src/solver/PCfrSolver.cpp ,that's where calculation begin.

bupticybee avatar Sep 28 '23 11:09 bupticybee

if you provide me some extra architectural info i can try for a 6 month +- Now i go to research some CUDA algorythm

zikkuratti avatar Sep 28 '23 18:09 zikkuratti

if you provide me some extra architectural info i can try for a 6 month +- Now i go to research some CUDA algorythm

Yeah I can provide anything you want. Please feel free to contact me anytime.

bupticybee avatar Sep 29 '23 03:09 bupticybee

Why on check not null moves he leave solve nodes empty sometimes?

zikkuratti avatar Sep 29 '23 05:09 zikkuratti

Why on check not null moves he leave solve nodes empty sometimes?

What do you mean by this? Can you refer to some specific part of the code?

bupticybee avatar Sep 29 '23 09:09 bupticybee

Untitled

zikkuratti avatar Sep 30 '23 14:09 zikkuratti

Untitled

Oh you need to double click this node to expand it. It's a QT bug.

bupticybee avatar Oct 01 '23 12:10 bupticybee

Hello @zikkuratti ! I noticed that you have started working on implementing the solver using GPU cores. Could you please share information about the current progress? Do you have an idea about the feasibility of successfully implementing this functionality?

DiaMyt avatar Dec 26 '23 21:12 DiaMyt

not yet but soon

zikkuratti avatar Feb 26 '24 08:02 zikkuratti

not yet but soon

Glad to know this is still on going! Did you manage to get some speedup?

bupticybee avatar Feb 26 '24 08:02 bupticybee

now im fixing some bugs on another project after that i push on CUDA

zikkuratti avatar Feb 26 '24 13:02 zikkuratti

I need fast instruction how to make-build this code. No makefile here. I resarch some cuda stuff and need to recompile your code from scratch.

zikkuratti avatar Feb 27 '24 16:02 zikkuratti

Also i check console solver it boot #####100% 20-30 sec its too loong i wanna try too boost it, need to find it src folder comands list.

zikkuratti avatar Feb 27 '24 18:02 zikkuratti

And i think about can we speed up it if after console solving flop to json, we not rebuild turn and river, as new tree (like GUI) but add combinations of turn in json, cuz flop is 22100 turn ~270 000 river is 2,6 billions of extra

zikkuratti avatar Feb 27 '24 20:02 zikkuratti

I need fast instruction how to make-build this code. No makefile here. I resarch some cuda stuff and need to recompile your code from scratch.

https://github.com/bupticybee/TexasSolver/tree/console

Please check this branch. Console branch has a makefile, and code structure is much simpler.

bupticybee avatar Feb 28 '24 02:02 bupticybee

Also i check console solver it boot #####100% 20-30 sec its too loong i wanna try too boost it, need to find it src folder comands list.

There are ways too, could you contact me somehow? Do you have a telegram account? You can find me at https://t.me/bupticybee ,I'll provide whatever help you need.

bupticybee avatar Feb 28 '24 02:02 bupticybee

Hi a small update, do you want to check on this? https://github.com/bupticybee/TexasSolver/pull/194

You could work with him on this feature? Or did you already do that? @zikkuratti

bupticybee avatar Apr 17 '24 06:04 bupticybee