mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   GPU Computing (https://www.mersenneforum.org/forumdisplay.php?f=92)
-   -   The P-1 factoring CUDA program (https://www.mersenneforum.org/showthread.php?t=17835)

owftheevil 2013-03-10 16:39

Just a quick progress report. Stage 2 is coming along nicely. Referring to (p*k)^e - rp^e, it understands different values of e and p, I'm teaching it about rp now. Then its just a matter of choreography and logistics. The general multiplication kernel is functioning properly, a quick and dirty test on M51943429 with b1 = 1248, b2 = 1249, e = 2, and p = 6 found the factor.

ET_ 2013-03-10 17:34

[QUOTE=owftheevil;332672]Just a quick progress report. Stage 2 is coming along nicely. Referring to (p*k)^e - rp^e, it understands different values of e and p, I'm teaching it about rp now. Then its just a matter of choreography and logistics. The general multiplication kernel is functioning properly, a quick and dirty test on M51943429 with b1 = 1248, b2 = 1249, e = 2, and p = 6 found the factor.[/QUOTE]

:tu::big grin::fusion:

swl551 2013-03-10 18:06

I realize your work is still under development, but I have to ask if CudaP-1 will have a similar configuration/.INI to MFAKTO/C. Of course, I ask this to determine or sway its development to ensure MISFIT can easily work with the final product. Ideally MISFIT for MFAKTO/C would be able to front CudaP-1 with only minor changes.


Thanks

Scott

ET_ 2013-03-10 18:11

[QUOTE=swl551;332693]I realize your work is still under development, but I have to ask if CudaP-1 will have a similar configuration/.INI to MFAKTO/C. Of course, I ask this to determine or sway its development to ensure MISFIT can easily work with the final product. Ideally MISFIT for MFAKTO/C would be able to front CudaP-1 with only minor changes.


Thanks

Scott[/QUOTE]

CUDA P-1 is stil under development, and AFAIK (and have tested) there is still no user interface (though I found arecall to a !worktodo" file).

I expect that the final versio should be similar to either Mfakt? or CudaLucas to be usable with manual reservations.

Luigi

Dubslow 2013-03-10 23:56

The "final" version should be easy to make work the same way as CUDALucas, seeing as it's a CUDALucas conversion.

Stef42 2013-03-11 15:59

I suppose there is only a linux version atm?

Dubslow 2013-03-11 16:30

[QUOTE=Stef42;332821]I suppose there is only a linux version atm?[/QUOTE]

flash/Brain ought to be able to compile it for Winbloze.

Stef42 2013-03-11 18:01

That would be very nice. I got one GTX 590 and one GTX 570 running full speed, P-1 could be a nice addition to that :smile:

Brain 2013-03-12 21:17

No Windows compile
 
[QUOTE=Dubslow;332825]flash/Brain ought to be able to compile it for Winbloze.[/QUOTE]
I cannot compile for Windows for at least 2 reasons:
- #include <gmp.h> fails. Changed to "gmp.h" but I have no Windows GMP library, only the header file gmp.h
- #include <cuda_safecalls.h> fails
I could make an investigation but don't have much time and I'm no linker expert. If anybody else can offer/point to precompiled libs and a suitable VC10 makefile...

Dubslow 2013-03-12 21:33

Hmm... I'm decently certain that the cuda_safecalls.h is included in CUDALucas as well, but I'm absolutely certain that the GMP dependency is new to P-1. You or others who desire a compilation ought to ask Brian Gladman for help; he's the forum's resident Windows/VS/GMP-for-Windows-aka-MPIR expert. :smile:

ET_ 2013-03-21 20:32

Question.

How is the GPU memory use computed, related to exponent, B1 and B2?

In other words, how can I know if B1 and B2 ranges fit in my GPU memory?

Luigi


All times are UTC. The time now is 23:18.

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