pytorch
c1214ce5 - Update mkl_verbose return value check due to API change in mkl (#96283)

Commit
1 year ago
Update mkl_verbose return value check due to API change in mkl (#96283) As title. Originally `mkl_verbose()` function returned `0` and `1`, indicating failure and success respectively. However, the version that PyTorch uses now changed the output of `mkl_verbose()` to reflect its input level. Thus, the check logic needs to be changed to compare output of the `mkl_verbose()` function with -1. https://www.intel.com/content/www/us/en/develop/documentation/onemkl-developer-reference-c/top/support-functions/miscellaneous/mkl-verbose.html Pull Request resolved: https://github.com/pytorch/pytorch/pull/96283 Approved by: https://github.com/jgong5, https://github.com/malfet
Author
Committer
Parents
Loading