-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
add option WITH_MKL #5714
add option WITH_MKL #5714
Conversation
貌似出现了别的error,我重启了几遍还是存在。 |
The error is duplicated with #5698 |
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.
LGTM 文档有一处typo,可以和#5547 (review) 一起修改
@@ -36,13 +36,13 @@ Figure 1. PaddlePaddle on IA. | |||
我们把集成方案大致分为了如下几个方面。 | |||
|
|||
### CMake | |||
我们会在`CMakeLists.txt`中会添加`WITH_MKLDNN`的选项,当设置这个值为`ON`的时候会启用编译MKL-DNN功能。同时会自动开启OpenMP用于提高MKL-DNN的性能。 | |||
我们会在`CMakeLists.txt`中会给用户添加一个`WITH_MKL`的开关,他是负责`WITH_MKLML`和`WITH_MKLDNN`的总开关。 |
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.
他-》它
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.
好的,thanks
fix #5725
Expose only one main option
WITH_MKL
to user, and hide theWITH_MKLML
andWITH_MKLDNN
.