Skip to content

Conversation

@dimitrijejankov
Copy link

Summary:
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.

Differential Revision: D29022635

@facebook-github-bot
Copy link
Contributor

facebook-github-bot commented Jun 15, 2021

💊 CI failures summary and remediations

As of commit 47190f4 (more details on the Dr. CI page and at hud.pytorch.org/pr/60051):


  • 1/1 failures possibly* introduced in this PR
    • 1/1 non-scanned failure(s)

This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.

Please report bugs/suggestions to the (internal) Dr. CI Users group.

Click here to manually regenerate this comment.

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D29022635

@codecov
Copy link

codecov bot commented Jun 16, 2021

Codecov Report

Merging #60051 (db02472) into master (001ff3a) will decrease coverage by 4.50%.
The diff coverage is 87.59%.

❗ Current head db02472 differs from pull request most recent head 47190f4. Consider uploading reports for the commit 47190f4 to get more accurate results

@@            Coverage Diff             @@
##           master   #60051      +/-   ##
==========================================
- Coverage   80.60%   76.09%   -4.51%     
==========================================
  Files        1879     2047     +168     
  Lines      202892   204253    +1361     
==========================================
- Hits       163543   155435    -8108     
- Misses      39349    48818    +9469     

Summary:
Pull Request resolved: pytorch#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: a56ad2e172c6467cd8718b5aeab34343bc8a1bca
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D29022635

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in b4496df.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants