mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   Factoring (https://www.mersenneforum.org/forumdisplay.php?f=19)
-   -   Faster GPU-ECM with CGBN (https://www.mersenneforum.org/showthread.php?t=27103)

wombatman 2022-04-03 17:07

[QUOTE=SethTro;603168]This is expected. I'm balancing binary size and compile time vs range of numbers that can be tested.

If you want to run ECM on numbers > 1020 bits look around line 670 in cgbn_stage1.cu[/QUOTE]

Good deal. Thanks!

EdH 2022-07-12 00:30

[QUOTE=SethTro;601241]IFAIK you don't need to compile CGBN (or setup the googletest), you just need the folder downloaded ("cloned") from Github.[/QUOTE]I've brought the folder down (via git) without installing CGBN for a second machine and although cgbn.h is present, ECM says it is not:[code]configure: Using CGBN from /home/math56/Math/CGBN/include/cgbn
checking if CGBN is present... no
configure: error: cgbn.h not found (check if /cgbn needed after <PATH>/include)[/code]I've tried with and without /cgbn after /include, per the readme, with no success. I've also tried copying cgbn.h into different places.[code]$ ls /home/math56/Math/CGBN/include/cgbn
arith cgbn.cu [B]cgbn.h[/B] core impl_mpz.cc
cgbn_cpu.h cgbn_cuda.h cgbn_mpz.h impl_cuda.cu[/code]


All times are UTC. The time now is 17:09.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.