hermann on Mon, 04 Dec 2023 07:28:32 +0100


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: PARI/GP pthread questions


On 2023-12-04 00:32, Thomas D. Dean wrote:
On 12/3/23 08:16, hermann@stamm-wilbrandt.de wrote:
taskset -c 0-15 gp -q < Mp.gp

Please post Mp.gp.

Tom Dean

I did in previous posting:

hermann@7950x:~$ cat Mp.gp
readvec("foursquares.gp");
{
  export(foursquares);
  export(isfact);
  export(foursquares_fact);
  export(isthreesquares);
  export(threesquares_fact);
  parforeach([0..31],p,
    my(t0=getabstime());
    foursquares(2^(23440-p)-1);
    getabstime()-t0,
    t,
    print(p," ",t));
}
hermann@7950x:~$