Re: gthread: how many cores do I have?



On 15 March 2010 23:08, Andrew W. Nosenko <andrew w nosenko gmail com> wrote:
> GCC OpenMP implementation has one also.  omp_get_num_procs().
> Mandated by OpenMP spec and essentially for the same reason :-)

Thanks, I see they have versions for several other platforms. I'll
nick some of their stuff too.

John


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