Changeset e2e2f7 in git


Ignore:
Timestamp:
Jul 5, 2019, 4:50:51 PM (5 years ago)
Author:
tthsqe12 <tthsqe12@…>
Branches:
(u'spielwiese', '2a584933abf2a2d3082034c7586d38bb6de1a30a')
Children:
84f0d81502771d37e63ee8041e613ac62d48668d
Parents:
f846acd24f4deb73b0e1179f7ea25a1d457c0c11
Message:
new system command flint-threads
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • Singular/feOpt.cc

    rf846ac re2e2f7  
    314314      #ifdef HAVE_FLINT
    315315      #if __FLINT_RELEASE >= 20503
    316       case FE_OPT_THREADS:
    317       {
    318         slong nthreads = (slong)feOptSpec[FE_OPT_THREADS].value;
     316      case FE_OPT_FLINT_THREADS:
     317      {
     318        slong nthreads = (slong)feOptSpec[FE_OPT_FLINT_THREADS].value;
    319319        nthreads = FLINT_MAX(nthreads, WORD(1));
    320320        flint_set_num_threads(nthreads);
  • Singular/feOptTab.h

    rf846ac re2e2f7  
    33
    44#define LONG_OPTION_RETURN 13
     5
     6#ifdef HAVE_FLINT
     7#include <flint/flint.h>
     8#endif
    59
    610// Define here which cmd-line options are recognized
     
    144148   "#threads", "maximal number of CPUs to use for threads",            feOptInt,    (void*)2,      0},
    145149
     150#ifdef HAVE_FLINT
     151#if __FLINT_RELEASE >= 20503
     152  {"flint-threads",   required_argument,    LONG_OPTION_RETURN,
     153   "#flintthreads", "maximal number of threads to use in flint library", feOptInt,    (void*)1,      0},
     154#endif
     155#endif
     156
    146157
    147158  {"MPport",           required_argument,   LONG_OPTION_RETURN,
  • libpolys/polys/flint_mpoly.cc

    rf846ac re2e2f7  
    164164#else
    165165
    166 void my_convSingNFlintN_QQ(fmpq_t f, number n)
     166// like convSingNFlintN_QQ but it takes an initialized fmpq_t f
     167static void my_convSingNFlintN_QQ(fmpq_t f, number n)
    167168{
    168169    if (SR_HDL(n)&SR_INT)
Note: See TracChangeset for help on using the changeset viewer.