When I do parallel programming in D, it's nice to have a sane default for the number of threads. The ideal number is the number of cores that can see the current address space. core.cpuid provides coresPerCPU, but it doesn't appear to provide nPhysialCPUs or something similar, which would allow the total number of physical CPUs in the system to be determined. Is there any easy way to determine this in D2?
- Getting # Physical CPUs dsimcha
- Re: Getting # Physical CPUs Don
- Re: Getting # Physical CPUs dsimcha
- Re: Getting # Physical CPUs Don
- Re: Getting # Physical CPUs dsimcha
- Re: Getting # Physical CPUs Don
- Re: Getting # Physical CPUs dsimcha
- Re: Getting # Physical CPUs Don
- Re: Getting # Physical CPUs dsimcha
- Re: Getting # Physical CPUs Philippe Sigaud
- Re: Getting # Physical CPUs Don