print USE_STATIC_MKL for further debug. (#138902)

print `USE_STATIC_MKL` for further debug.
<img width="257" alt="image" src="https://github.com/user-attachments/assets/cd45bada-c28a-441a-b271-35956cfe1f21">
if we use `MKL`, then show its link method.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/138902
Approved by: https://github.com/ezyang
This commit is contained in:
Xu Han
2024-10-27 18:08:28 +00:00
committed by PyTorch MergeBot
parent 652a2ab93e
commit beb15c80fb

View File

@ -143,6 +143,9 @@ function(caffe2_print_configuration_summary)
message(STATUS " USE_PYTORCH_METAL_EXPORT : ${USE_PYTORCH_METAL_EXPORT}") message(STATUS " USE_PYTORCH_METAL_EXPORT : ${USE_PYTORCH_METAL_EXPORT}")
message(STATUS " USE_MPS : ${USE_MPS}") message(STATUS " USE_MPS : ${USE_MPS}")
message(STATUS " USE_MKL : ${CAFFE2_USE_MKL}") message(STATUS " USE_MKL : ${CAFFE2_USE_MKL}")
if(${CAFFE2_USE_MKL})
message(STATUS " USE_STATIC_MKL : ${USE_STATIC_MKL}")
endif()
message(STATUS " USE_MKLDNN : ${USE_MKLDNN}") message(STATUS " USE_MKLDNN : ${USE_MKLDNN}")
if(${USE_MKLDNN}) if(${USE_MKLDNN})
message(STATUS " USE_MKLDNN_ACL : ${USE_MKLDNN_ACL}") message(STATUS " USE_MKLDNN_ACL : ${USE_MKLDNN_ACL}")