This repository was archived by the owner on Jan 3, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -26,13 +26,15 @@ build --define framework_shared_object=true
2626# environment variable "TF_MKL_ROOT" every time before build.
2727build:mkl --define=build_with_mkl=true --define=enable_mkl=true
2828build:mkl --define=tensorflow_mkldnn_contraction_kernel=0
29+ build:mkl --define mkl_dnn_threading=tf
2930build:mkl -c opt
3031
3132# This config option is used to enable MKL-DNN open source library only,
3233# without depending on MKL binary version.
3334build:mkl_open_source_only --define=build_with_mkl_dnn_only=true
3435build:mkl_open_source_only --define=build_with_mkl=true --define=enable_mkl=true
3536build:mkl_open_source_only --define=tensorflow_mkldnn_contraction_kernel=0
37+ build:mkl_open_source_only --define mkl_dnn_threading=tf
3638
3739build:download_clang --crosstool_top=@local_config_download_clang//:toolchain
3840build:download_clang --define=using_clang=true
Original file line number Diff line number Diff line change @@ -118,11 +118,11 @@ def tf_workspace(path_prefix = "", tf_repo_name = ""):
118118 tf_http_archive (
119119 name = "mkl_dnn" ,
120120 build_file = clean_dep ("//third_party/mkl_dnn:mkldnn.BUILD" ),
121- sha256 = "bd406f4d9d004be270818449d010fe6cecd27af8cd465b5ec5e596905b45bb0d " ,
122- strip_prefix = "mkl-dnn-e842faaaf053c4e2926c3f857944c9837366c731 " ,
121+ sha256 = "ad1eff102f30e44d75c25abab118428f8c93d0b5bb28bb235d2df36acc7b54bf " ,
122+ strip_prefix = "mkl-dnn-0154b64533a9d3f9f711ffadc967d6ed6fc59205 " ,
123123 urls = [
124- "https://mirror.bazel.build/github.com/rsdubtso/mkl-dnn/archive/e842faaaf053c4e2926c3f857944c9837366c731 .tar.gz" ,
125- "https://github.com/rsdubtso/mkl-dnn/archive/e842faaaf053c4e2926c3f857944c9837366c731 .tar.gz" ,
124+ "https://mirror.bazel.build/github.com/rsdubtso/mkl-dnn/archive/0154b64533a9d3f9f711ffadc967d6ed6fc59205 .tar.gz" ,
125+ "https://github.com/rsdubtso/mkl-dnn/archive/0154b64533a9d3f9f711ffadc967d6ed6fc59205 .tar.gz" ,
126126 ],
127127 )
128128
You can’t perform that action at this time.
0 commit comments