Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Topi,x86] Split MKL from BLAS. #6182

Merged
merged 1 commit into from
Aug 11, 2020
Merged

[Topi,x86] Split MKL from BLAS. #6182

merged 1 commit into from
Aug 11, 2020

Conversation

tkonolige
Copy link
Contributor

Make cblas and mkl seperate entities in cmake and topi, allowing users
to use both a BLAS library and MKL. In the future, MKL specific
functions can be added easily. MKLDNN is also split off from MKL and
BLAS for the same reasons.

Other improvements:

  • cblas and mkl strategies are now only applied when they are viable.
  • compile_engine will log which implementation it has chosen and why.

@merrymercy @icemelon9

Make cblas and mkl seperate entities in cmake and topi, allowing users
to use both a BLAS library and MKL. In the future, MKL specific
functions can be added easily. MKLDNN is also split off from MKL and
BLAS for the same reasons.

Other improvements:
  - cblas and mkl strategies are now only applied when they are viable.
  - compile_engine will log which implementation it has chosen and why.
@icemelon
Copy link
Member

icemelon commented Aug 5, 2020

I can understand separating MKLDNN from the BLAS. But why separate the MKL from BLAS library?

@tkonolige
Copy link
Contributor Author

Separating MKL from BLAS has two purposes: 1. We can compare other BLAS implementations vs MKL. I think MKL can be better in general, but we have no way of comparing. 2. MKL has a number of operations that are not part of BLAS like batch matrix products and sparse matrix products. With MKL separate, it is easier to add these features.

@tqchen
Copy link
Member

tqchen commented Aug 9, 2020

@icemelon9 please follow up :)

@tqchen tqchen merged commit ee33056 into apache:master Aug 11, 2020
@tqchen
Copy link
Member

tqchen commented Aug 11, 2020

Thanks @tkonolige @icemelon9 !

wjliu1998 pushed a commit to wjliu1998/incubator-tvm that referenced this pull request Aug 13, 2020
Make cblas and mkl seperate entities in cmake and topi, allowing users
to use both a BLAS library and MKL. In the future, MKL specific
functions can be added easily. MKLDNN is also split off from MKL and
BLAS for the same reasons.

Other improvements:
  - cblas and mkl strategies are now only applied when they are viable.
  - compile_engine will log which implementation it has chosen and why.
trevor-m pushed a commit to trevor-m/tvm that referenced this pull request Aug 26, 2020
Make cblas and mkl seperate entities in cmake and topi, allowing users
to use both a BLAS library and MKL. In the future, MKL specific
functions can be added easily. MKLDNN is also split off from MKL and
BLAS for the same reasons.

Other improvements:
  - cblas and mkl strategies are now only applied when they are viable.
  - compile_engine will log which implementation it has chosen and why.
trevor-m pushed a commit to trevor-m/tvm that referenced this pull request Aug 26, 2020
Make cblas and mkl seperate entities in cmake and topi, allowing users
to use both a BLAS library and MKL. In the future, MKL specific
functions can be added easily. MKLDNN is also split off from MKL and
BLAS for the same reasons.

Other improvements:
  - cblas and mkl strategies are now only applied when they are viable.
  - compile_engine will log which implementation it has chosen and why.
trevor-m pushed a commit to trevor-m/tvm that referenced this pull request Aug 26, 2020
Make cblas and mkl seperate entities in cmake and topi, allowing users
to use both a BLAS library and MKL. In the future, MKL specific
functions can be added easily. MKLDNN is also split off from MKL and
BLAS for the same reasons.

Other improvements:
  - cblas and mkl strategies are now only applied when they are viable.
  - compile_engine will log which implementation it has chosen and why.
trevor-m pushed a commit to trevor-m/tvm that referenced this pull request Sep 2, 2020
Make cblas and mkl seperate entities in cmake and topi, allowing users
to use both a BLAS library and MKL. In the future, MKL specific
functions can be added easily. MKLDNN is also split off from MKL and
BLAS for the same reasons.

Other improvements:
  - cblas and mkl strategies are now only applied when they are viable.
  - compile_engine will log which implementation it has chosen and why.
trevor-m pushed a commit to neo-ai/tvm that referenced this pull request Sep 3, 2020
Make cblas and mkl seperate entities in cmake and topi, allowing users
to use both a BLAS library and MKL. In the future, MKL specific
functions can be added easily. MKLDNN is also split off from MKL and
BLAS for the same reasons.

Other improvements:
  - cblas and mkl strategies are now only applied when they are viable.
  - compile_engine will log which implementation it has chosen and why.
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