[Ecm-commits] r2593 - trunk

cvs commits ecm-commits at lists.gforge.inria.fr
Mon Feb 9 11:37:29 CET 2015


Author: zimmerma
Date: 2015-02-09 11:37:29 +0100 (Mon, 09 Feb 2015)
New Revision: 2593

Modified:
   trunk/factor.c
Log:
gpu_ecm is no longer defined when WITH_GPU is not defined


Modified: trunk/factor.c
===================================================================
--- trunk/factor.c	2015-02-09 09:34:37 UTC (rev 2592)
+++ trunk/factor.c	2015-02-09 10:37:29 UTC (rev 2593)
@@ -144,6 +144,7 @@
                        &(p->batch_last_B1_used), p->gw_k, p->gw_b, p->gw_n,
                        p->gw_c);
         }
+#ifdef WITH_GPU
       else
         {
           res = gpu_ecm (f, p->x, &(p->param), p->sigma, n, p->go, 
@@ -155,6 +156,7 @@
                          p->gpu_device, &(p->gpu_device_init),
                          &(p->gpu_number_of_curves));
         }
+#endif
     }
   else if (p->method == ECM_PM1)
     res = pm1 (f, p->x, n, p->go, &(p->B1done), B1, p->B2min, p->B2,



More information about the Ecm-commits mailing list