You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2020/11/13 21:30:39 UTC

[GitHub] [incubator-mxnet] josephevans opened a new pull request #19530: [WIP] Cuda 11 build fixes

josephevans opened a new pull request #19530:
URL: https://github.com/apache/incubator-mxnet/pull/19530


   ## Description ##
   [WIP] Fixes to build properly on Windows with Cuda 11.0:
   
   * Update multi_lamb.cu and multi_lans.cu to use cuda's pow() function instead of std::pow() and statically cast exponent to float so it matches cuda pow signature.
   
   Fixes compilation errors:
   ```
   multi_lamb.cu(53): error: calling a __host__ function("pow<float, int, (int)0> ") from a __global__ function("mxnet::op::KernelStep1<(bool)1, float, float> ") is not allowed
   multi_lamb.cu(53): error: identifier "pow<float, int, (int)0> " is undefined in device code
   ```
   ## Checklist ##
   ### Essentials ###
   - [ ] PR's title starts with a category (e.g. [BUGFIX], [MODEL], [TUTORIAL], [FEATURE], [DOC], etc)
   - [ ] Changes are complete (i.e. I finished coding on this PR)
   - [ ] All changes have test coverage
   - [ ] Code is well-documented
   
   ### Changes ###
   - [ ] Feature1, tests, (and when applicable, API doc)
   - [ ] Feature2, tests, (and when applicable, API doc)
   
   ## Comments ##
   - If this change is a backward incompatible change, why must this change be made.
   - Interesting edge cases to note here
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-mxnet] mseth10 merged pull request #19530: Cuda 11 build fixes

Posted by GitBox <gi...@apache.org>.
mseth10 merged pull request #19530:
URL: https://github.com/apache/incubator-mxnet/pull/19530


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-mxnet] mxnet-bot commented on pull request #19530: [WIP] Cuda 11 build fixes

Posted by GitBox <gi...@apache.org>.
mxnet-bot commented on pull request #19530:
URL: https://github.com/apache/incubator-mxnet/pull/19530#issuecomment-727044855


   Hey @josephevans , 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**: [edge, website, windows-gpu, centos-gpu, clang, sanity, unix-cpu, miscellaneous, windows-cpu, centos-cpu, unix-gpu]
   *** 
   _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. 
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org