From beb15c80fb38ea54de4148bc8987db7751f060d7 Mon Sep 17 00:00:00 2001 From: Xu Han Date: Sun, 27 Oct 2024 18:08:28 +0000 Subject: [PATCH] print USE_STATIC_MKL for further debug. (#138902) print `USE_STATIC_MKL` for further debug. image 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 --- cmake/Summary.cmake | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmake/Summary.cmake b/cmake/Summary.cmake index 3f70465c91d6..8e245262e84e 100644 --- a/cmake/Summary.cmake +++ b/cmake/Summary.cmake @@ -143,6 +143,9 @@ function(caffe2_print_configuration_summary) message(STATUS " USE_PYTORCH_METAL_EXPORT : ${USE_PYTORCH_METAL_EXPORT}") message(STATUS " USE_MPS : ${USE_MPS}") 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}") if(${USE_MKLDNN}) message(STATUS " USE_MKLDNN_ACL : ${USE_MKLDNN_ACL}")