Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

FwdPort of "1.x-Backport Add cmake flag USE_FATBIN_COMPRESSION, ON by default (#19123) (#19158)" #19175

Merged
merged 2 commits into from
Sep 22, 2020

Conversation

DickJC123
Copy link
Contributor

@DickJC123 DickJC123 commented Sep 18, 2020

During the 1.x backporting of master-branch PR #19123 (as PR #19158), some issues were discovered and corrected. This PR "forward ports" the result so that the logic behind use of fatbin compression remains consistent between master and v1.x.

Currently, master has the following issues:

If CMAKE_CUDA_FLAGS were already set, to say "--foo=bar", then that env var would be altered incorrectly to "--foo=bar--fatbin-options -compress-all"

Also, if USE_SPLIT_ARCH_DLL=OFF and MSVC=1, there would be no fatbin compression, even with USE_FATBIN_COMPRESSION=ON.

This PR corrects these issues, and so makes master behave like v1.x.

…pache#19123) (apache#19158)

* [1.x] Backport Add cmake flag USE_FATBIN_COMPRESSION, ON by default (apache#19123)

* Trigger CI

* Appending to existing CMAKE_CUDA_FLAGS in all cases
@mxnet-bot
Copy link

Hey @DickJC123 , Thanks for submitting the PR
All tests are already queued to run once. If tests fail, you can trigger one or more tests again with the following commands:

  • To trigger all jobs: @mxnet-bot run ci [all]
  • To trigger specific jobs: @mxnet-bot run ci [job1, job2]

CI supported jobs: [windows-gpu, windows-cpu, clang, centos-gpu, miscellaneous, unix-cpu, edge, website, centos-cpu, unix-gpu, sanity]


Note:
Only following 3 categories can trigger CI :PR Author, MXNet Committer, Jenkins Admin.
All CI tests must pass before the PR can be merged.

@leezu
Copy link
Contributor

leezu commented Sep 18, 2020

@mxnet-bot run ci [centos-cpu]

@mxnet-bot
Copy link

Jenkins CI successfully triggered : [centos-cpu]

@DickJC123
Copy link
Contributor Author

@szha @leezu This small PR is ready for review.

@leezu leezu merged commit 42ef1cb into apache:master Sep 22, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants