JuliaSIMD / JuliaSIMD/LoopVectorization.jl

False core number on 2 socket HPC node

Open
#400 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
789
Forks
73
PR merge metrics
No merged PRs in 30d

Description

```
using Pkg
Pkg.add("VectorizationBase")
Pkg.add("Hwloc")
using VectorizationBase,Hwloc
print(VectorizationBase.num_cores())
print(num_physical_cores())
print(num_virtual_cores())
```
```
$srun julia --threads 24 debug.jl
Updating registry at `~/.julia/registries/General.toml`
Resolving package versions...
No Changes to `~/.julia/environments/v1.7/Project.toml`
No Changes to `~/.julia/environments/v1.7/Manifest.toml`
Resolving package versions...
Updating `~/.julia/environments/v1.7/Project.toml`
[0e44f5e4] + Hwloc v2.0.0
No Changes to `~/.julia/environments/v1.7/Manifest.toml`
static(12)2424
```
Here for two socket CPU `LoopVectorization.jl` only use 12 cores.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.