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 2017/12/04 14:12:55 UTC

[GitHub] asmushetzel opened a new pull request #8935: change workspace allocation in random samplers

asmushetzel opened a new pull request #8935: change workspace allocation in random samplers
URL: https://github.com/apache/incubator-mxnet/pull/8935
 
 
   ## Description ##
   Avoid using additional Alloc/Free on Storage() in order to pack distribution parameters into tensors on cpu/gpu. Instead allocate a single chunk of workspace and partition this into three temporal arrays (for seeds as well as the two distribution parameters). This resolves issue #8863. 
   
   ## Checklist ##
   ### Essentials ###
   - [x] Passed code style checking (`make lint`)
   - [ x] Changes are complete (i.e. I finished coding on this PR)
   - [x] All changes have test coverage
   - [ x] For user-facing API changes, API doc string has been updated. For new C++ functions in header files, their functionalities and arguments are well-documented. 
   - [ x] To my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


With regards,
Apache Git Services