C++ image processing and machine learning library with using of SIMD: SSE, AVX, AVX-512, AMX for x86/x64, VMX(Altivec) and VSX(Power7) for PowerPC, NEON for ARM.
When lscpu is not installed or not available SIMD will error on initialization.
The current PR resolves this by making the call to lscpu fail silently, falling back to the default 0 for CpuSocketNumber() and CpuSocketNumber() (only) when lscpu is not found.
When
lscpu
is not installed or not available SIMD will error on initialization.The current PR resolves this by making the call to
lscpu
fail silently, falling back to the default0
forCpuSocketNumber()
andCpuSocketNumber()
(only) whenlscpu
is not found.