[Ecm-commits] r2398 - trunk

cvs commits ecm-commits at lists.gforge.inria.fr
Wed Feb 13 14:20:14 CET 2013


Author: bouvierc
Date: 2013-02-13 14:20:14 +0100 (Wed, 13 Feb 2013)
New Revision: 2398

Log:
Remove old and useless gpu directory
Add some details on README.gpu


Removed:
   trunk/gpu/
Modified:
   trunk/README.gpu
Modified: trunk/README.gpu
===================================================================
--- trunk/README.gpu	2013-02-12 17:33:47 UTC (rev 2397)
+++ trunk/README.gpu	2013-02-13 13:20:14 UTC (rev 2398)
@@ -6,6 +6,7 @@
 
 1. How to enable GPU code in GMP-ECM
 2. Basic Usage
+3. Advanced Usage
 
 
 ##############################################################################
@@ -67,3 +68,30 @@
 
 The options "-mpzmod", "-modmuln", "-redc", "-nobase2" and "-base2" have no
 effect on step 1, if the "-gpu" option is activated, but will apply for step 2.
+
+##############################################################################
+
+3. Advanced Usage
+
+The option "-gpudevice n" forces the GPU code to be executed on device n. Nvidia
+tool "nvidia-smi" can be used to know to which number is associated a GPU.
+Moreover, you can use GMP-ECM option "-v" (verbose) to see on which GPU the code
+is executed and what its compute capability is. GMP-ECM is compiled for a given
+compute capability (by default 2.0) by using --enable-gpu=sm_xy in ./configure,
+then the GPU code can only be executed on GPU with equal or higher compute
+capability.
+
+The option "-gpucurves n" forces GMP-ECM to compute n curves in parallel on the
+GPU. By default, the number of curves is choose to fill completly the GPU. The
+number of curves must be a multiple of the number of curves by multiprocessors
+(which depend on the GPU compute capability) or else it would be rounded to the
+next multiple.
+
+The modular arithmetic on GPU can only handle integers smaller that 2^1018. The 
+execution time does not depend on the size of the interger that is factored as
+the same code is used for all integers.
+
+##############################################################################
+
+Please report to Cyril.Bouvier at loria.fr any problems, bugs, ...
+




More information about the Ecm-commits mailing list