Description
Currently, AArch64 builds rely on a single-threaded build of OpenBLAS, see:
builder/build_aarch64_wheel.py
Line 182 in 8e799eb
Inclusion of OpenMP is marked as a
TODO
.
Enabling support should be a matter of adding the USE_OPENMP=1
flat at
builder/build_aarch64_wheel.py
Line 182 in 8e799eb
Note: When building PyTorch with an OpenBLAS myself, I also explicitly set OpenBLAS_HOME='/opt/OpenBLAS' BLAS='OpenBLAS' USE_MKLDNN=0 USE_OPENMP=1 USE_LAPACK=1
when running setup.py
.
Can OpenMP support be enabled in build_aarch64_wheel.py
?
Are there any issues currently blocking this change?
Note: this mirrors an issue raised in #679, however it is unrelated to the issues concerning choices of mcpu
, mtune
, and march
, so I felt it would be beneficial to separate it out and address any specific issues separately.