-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Update mkldnn window build instructions in MKLDNN_README.md #14952
Conversation
@TaoLv @szha @ZhennanQin @pengzhao-intel please help to review them. thanks |
@aaronmarkham could you help take a review for the document change? thanks in advance :) |
simplify the windows build instruction
simply steps.
…to yhu5_mkldnn_md
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.
Is Visual Studio 2017 no longer compatible? I recall having both 2015 and 2017 in there so more people could use it with their preferred dev environment.
@aaronmarkham thank you for the comment!. As the build steps in Visual Studio 2017 and visual studio 2015 is exact same, so i remove the visual studio 2017 part in second commit. The current version is like Windows Visual Studio 2015 ... |
Simply VS 2017 part
…to yhu5_mkldnn_md
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.
I see there're several hardcode for the software versions. The advantage is the fix id can make the build more easily. On the other hand, the document should be a little flexible and maybe don't need to pin on specific version id.
How about giving a list of SW version in the document and mentioned which are fully tested version?
<!--- KIND, either express or implied. See the License for the --> | ||
<!--- specific language governing permissions and limitations --> | ||
<!--- under the License. --> | ||
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.
What is the change in the License part?
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.
seems the original EOL have LF and CRLF as file end flag. I change all of them to LF. thanks
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.
I see there're several hardcode for the software versions. The advantage is the fix id can make the build more easily. On the other hand, the document should be a little flexible and maybe don't need to pin on specific version id.
How about giving a list of SW version in the document and mentioned which are fully tested version?
The numpy etc, are common support library, version-insensitive, I removed the version information. thanks
remove numpy hardcode
…to yhu5_mkldnn_md
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
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.
Overall it looks good to me. Just one minor comment.
>cd build | ||
>cmake -G "Visual Studio 14 Win64" .. -DUSE_CUDA=0 -DUSE_CUDNN=0 -DUSE_NVRTC=0 -DUSE_OPENCV=1 -DUSE_OPENMP=1 -DUSE_PROFILER=1 -DUSE_BLAS=open -DUSE_LAPACK=1 -DUSE_DIST_KVSTORE=0 -DCUDA_ARCH_NAME=All -DUSE_MKLDNN=1 -DCMAKE_BUILD_TYPE=Release | ||
``` | ||
3. Enable Intel MKL-DNN and Intel MKL as BLAS library by the command: |
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.
MKL-DNN is already enabled in the command above.
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.
Highlight the MKL-DNN in above command. thanks
…to yhu5_mkldnn_md
resolve the conflict
The original md file mix two kind of line end of flag: linux: LR and window: CRLF. most of them are CRLF, so change to CRLF. |
…to yhu5_mkldnn_md
Thanks for your contribution. Merging now :) |
…4952) * update mklndd.md * Update MKLDNN_README.md simplify the windows build instruction * Update MKLDNN_README.md simply steps. * Update MKLDNN_README.md Simply VS 2017 part * modify vs2017 * Update MKLDNN_README.md remove numpy hardcode * LF replace * -DUSE_MKLDNN=1 * Update MKLDNN_README.md resolve the conflict * quantization
Description
Updates mkldnn & MKL window Build instructions in MKLDNN_README.md, if the PR #14877 (fix MKLDNN/MKL in cmake) is merged.
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.
Changes
Comments