This repository has been archived by the owner on Nov 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Making MKL-DNN default on MXNet master #13681
Merged
Merged
Changes from 112 commits
Commits
Show all changes
116 commits
Select commit
Hold shift + click to select a range
1e17a51
mkldnn is default makefile and explicitly turn off for buidls
azai91 abbc3ad
add endif
azai91 92b91f8
retrigger
azai91 335748b
Merge branch 'master' into feature/mklnn-default-make
azai91 ce5336c
retrigger
azai91 d12d2cd
Merge branch 'master' into feature/mklnn-default-make
azai91 b8a0203
build mkldnn as static lib
azai91 bc6c482
update makefile to statically build mkldnn
azai91 15a41fc
build static mkldnn
azai91 42b3353
fix static name
azai91 5af258a
fix static name
azai91 32ab9ce
update static for mac
azai91 e2422d6
rename mkldnn dep in ci
azai91 372f697
remove moving mkldnn dynamic lib
azai91 67e4dff
retrigger
azai91 150b324
remove commented code
azai91 890cf1d
merge master
azai91 89b11c6
retrigger
azai91 da8f62c
Merge branch 'master' into feature/mklnn-default-make
azai91 f29c254
Merge branch 'master' into feature/mkldnn-static
azai91 40fd0ac
remove mkldnn dnaymic for unitest
azai91 78c6093
Merge branch 'master' into feature/mklnn-default-make
azai91 cb095c6
retrigger
azai91 c08f6fa
retrigger
azai91 0302290
force static for mkldnn lib
azai91 bf78666
turn of mkldnn on arm builds
azai91 23fd7d9
Merge branch 'master' into feature/mkldnn-static
azai91 d103ec8
remove dynamic mkldnn bind
azai91 46da874
Merge branch 'master' into feature/mklnn-default-make
azai91 9b60119
Merge branch 'feature/mklnn-default-make' of github.com:azai91/incuba…
azai91 4b07dcf
update jenkins to use only mkldnn
azai91 6536cda
remove last flag
azai91 de4ff31
turn mkldnn by default on mac
azai91 0e5a362
move mkldnn files for GPU MKLDNN build
azai91 6eadfae
copy lib mxnet in gpu build
azai91 c9e8bd2
Merge branch 'master' into feature/mkldnn-static
azai91 0d0f407
only link windows
azai91 b300b88
add mkldnn.mk
azai91 b336ef0
try force linking
azai91 9827a5b
Merge branch 'master' into feature/mklnn-default-make-2
azai91 b9be823
retrigger
azai91 fdcee0d
retrigger
azai91 46ee0bd
remove mkldnn dynanmic check
azai91 7772cdd
use ifndef
azai91 45e8cd8
remove test mkldnn install
azai91 ed31e12
fix spacing
azai91 746596c
Merge branch 'master' into feature/mklnn-default-make-2
azai91 ab2ec74
Merge branch 'feature/mkldnn-static' into feature/mklnn-default-make-2
azai91 6a02949
fix index
azai91 9ba1181
Merge branch 'feature/mkldnn-static' into feature/mklnn-default-make-2
azai91 3cc21f3
remove cp of mkldnn since statically linked
azai91 0b894a0
add libmkldnn.a to list of files to pack
azai91 6b4db54
include mkl_ml
azai91 a754793
merge from master
azai91 4ad0b29
Merge branch 'master' into feature/mklnn-default-make-2
azai91 ccf9855
add mkldnn to pack
azai91 225b446
add libiomp to ci pack
azai91 54231a9
move static libs
azai91 2d2a0f9
fix typo
azai91 884d955
pack mkldnn
azai91 7dfa87e
retrigger
azai91 409acd0
add linux artifacts
azai91 8422287
move libmkldnn in gpu cmake build
azai91 346a602
move libmkldnn and libiomp5 on gpu workspace
azai91 20741c4
move linked files
azai91 4e6b2ca
fix typo
azai91 992a2a0
fix typo
azai91 45fd008
add artifacts for tensorrt
azai91 7934cf1
move mkldnn lib in scala build
azai91 b40e996
move mkldnn lib on cpu scala
azai91 74e86e6
create dir for binding
azai91 5a18a8f
rename libmkldnn in scala
azai91 c0bd964
move mklml dep in scala builds
azai91 2dc1683
move mkl to another linked folder
azai91 4eb65df
move libmkl to another dir
azai91 ec5421d
add libmklml
azai91 75dd532
move mkldnn
azai91 2af09a8
move mkldnn on centos
azai91 76d842f
specify new dynamic path
azai91 103c9d1
retrigger
azai91 edc3bd1
merge from master
azai91 d510436
remove mkldnn dynamic lib
azai91 16cca19
remove moving mkldnn artifact
azai91 ab75373
add ld path
azai91 63821d4
retrigger
azai91 13bf7ae
Revert "remove moving mkldnn artifact"
azai91 935b1dc
Revert "remove mkldnn dynamic lib"
azai91 96482f7
merge from master
azai91 59bae57
update makefile
azai91 6d583df
Revert RPATH change and trigger CI
anirudh2290 37701b0
Merge branch 'master' of /~https://github.com/dmlc/mxnet into feature/m…
anirudh2290 83c36d5
correcting use-mkldnn flags for two tests
c94129a
mkldnn default on linux for starters
0220572
reverting naming rules of pack_lib
2384a90
adding mkldnn=0 flags to centos non mkldnn builds
377db81
adding mkldnn=0 flags to ubuntu gpu non mkldnn builds
365838d
removing mkldnn binary operation for ubuntu gpu cmake non mkldnn build
dfaef51
removing mkldnn binary operation for centos non-mkldnn unittest
9f7e869
adding explicit USE_MKLDNN=0 flags for clang builds
c1a5d2c
adding explicit USE_MKLDNN=0 flags for cpu ubuntu builds
3ec81a1
removing mkldnn binaries from non mkldnn builds scala gpu
2a3d362
adding explicit flag mkldnn=0 for tensorrt gpu build
bd9e55b
adding explicit flag mkldnn=0 for ubuntu cmake asan
bd55a1c
adding centos cpu mkldnn tests to CI
c68ccd0
adding CentOS GPU MKLDNN build and unittest
8c82763
not keeping mkldnn default for mac os
670c3ae
setting mkldnn default for x86_64 only
130ec16
running docs with mkldnn=0 flag
b7330cc
removing CentOS CPU Scala MKLDNN test
fe4b20e
setting mkldnn default for x86_64 only
38b3d66
not making mkldn default on windows
b554519
removing Centos MKLDNN tests from CI
f770f8a
retrigger
azai91 8da6078
Merge branch 'master' into mkldnn-default
azai91 28ba12c
retrigger
azai91 10e40a8
retrigger
azai91 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually
CMAKE_SYSTEM_PROCESSOR
will not work for cross compilation. You could reuse a variableCMAKE_CROSSCOMPILING
for this as shown here.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you suggest we check for
SYSTEM_ARCHITECTURE STREQUAL "x86_64" AND NOT CMAKE_CROSSCOMPILING
instead of
CMAKE_SYSTEM_PROCESSOR MATCHES x86_64
?Also, will
CMAKE_HOST_SYSTEM_PROCESSOR MATCHES x86_64
help in case of cross compilation?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I think
SYSTEM_ARCHITECTURE STREQUAL "x86_64" AND NOT CMAKE_CROSSCOMPILING
should work. But you need to add the trick forCMAKE_CROSSCOMPILING
from here as well:There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lebeg I checked,
CMAKE_SYSTEM_PROCESSOR
works for cross compilation.CMAKE_CROSSCOMPILING
isTRUE
only for ARM v6, v7, v8, and for all these casesCMAKE_SYSTEM_PROCESSOR
exists andCMAKE_SYSTEM_PROCESSOR MATCHES x86_64
returnsFALSE
. Hence, I don't think any change is needed. Please correct me if I am missing anything.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note the semantics of
mxnet_option
. If the condition is not satisfied, this option will be turned off ,not setting the default value off.