pytorch
b4496df7 - mkl_scsrmm needs to be disabled when MKL is not used (#60051)

Commit
4 years ago
mkl_scsrmm needs to be disabled when MKL is not used (#60051) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/60051 Introduction: We want to minimize the number of dependencies for the SGX port. Therefore we need the ability to disable MKL when it is not used. Problem : There is a call to mkl_scsrmm that is enabled when CAFFE2_USE_MKL is not defined. This causes a compile error. Solution : Surround the call with preprocessor checks to CAFFE2_USE_MKL Test Plan: Run the pytorch tests. Reviewed By: LiJihang Differential Revision: D29022635 fbshipit-source-id: 94ae9fdfe53399b64d8c2d4089eebe93d1d260e8
Author
Dimitrije Jankov
Parents
Loading