Re: [julia-users] Re: Sys.CPU_CORES

2016-11-02 Thread Júlio Hoffimann
Thank you Isaiah, I'll follow your tip and use Hwloc.jl

-Júlio


Re: [julia-users] Re: Sys.CPU_CORES

2016-11-02 Thread Isaiah Norton
Ref: https://github.com/JuliaLang/julia/issues/13901

On Wed, Nov 2, 2016 at 10:33 PM, Isaiah Norton 
wrote:

> it returns the same concept in all OS?
>
>
> As far as I can tell, yes.
>
>
>> Is it physical number of cores?
>
>
> Number of logical processors.
>
> On Wed, Nov 2, 2016 at 9:42 PM, Júlio Hoffimann  > wrote:
>
>> My question is, it returns the same concept in all OS? Is it physical
>> number of cores?
>>
>> -Júlio
>>
>
>


Re: [julia-users] Re: Sys.CPU_CORES

2016-11-02 Thread Isaiah Norton
>
> it returns the same concept in all OS?


As far as I can tell, yes.


> Is it physical number of cores?


Number of logical processors.

On Wed, Nov 2, 2016 at 9:42 PM, Júlio Hoffimann 
wrote:

> My question is, it returns the same concept in all OS? Is it physical
> number of cores?
>
> -Júlio
>


Re: [julia-users] Re: Sys.CPU_CORES

2016-11-02 Thread Júlio Hoffimann
My question is, it returns the same concept in all OS? Is it physical
number of cores?

-Júlio


[julia-users] Re: Sys.CPU_CORES

2016-11-02 Thread Jeffrey Sarnoff
It works for me on Linux and Windows.

On Wednesday, November 2, 2016 at 9:29:28 PM UTC-4, Júlio Hoffimann wrote:
>
> Hi,
>
> Sys.CPU_CORES returns the number of physical cores or processing units? Is 
> it portable across different OS?
>
> -Júlio
>