-
Notifications
You must be signed in to change notification settings - Fork 3.6k
[DNNL][CBLAS][BYOC] Unifles all MKLDNN/DNNL to DNNL #11638
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
Conversation
This seems like a breaking change for users using |
Sure, good idea. |
yeah let's do that. |
8b410b7
to
83e0aa5
Compare
Rebased and updated them all, can you take a look ? let me know if anything need to be changed. :) |
We now have
USE_MKLDNN
(for cblas with matmul/dense) andUSE_DNNL_CODEGEN
(for DNNL/OneDNN with matmal/dense/conv2d .etc in BYOC ).Essentially
MKL-DNN
was discarded by Intel and updated asDNNL
(aka Intel OneDNN), as part of Intel OneAPI ,so this PR mainly focus on deprecate MKL-DNN and use DNNL for both cases (e.g., -libs and BYOC), include:
Unified the config.cmake flags USE_MKLDNN and USE_DNNL_CODEGEN to USE_DNNL, setup USE_DNNL can make both -libs and dnnl_codegen(json runtime) enabled.
Update all the symbol like mkldnn to dnnl in codes.
Some issue in Rust code not been updated, since tvm_build 0.2.4 should be updated first, we also updated here in tvm_build