asitstands commented on issue #13187: Inconsistent return types of random_generator functions in cpu and gpu URL: https://github.com/apache/incubator-mxnet/issues/13187#issuecomment-438697788 There is a template specialization for double in gpu. Generic implementation without specialization is not so simple because the underlying curand API is not generic. It requires an implementation of new a generic random number generator. Actually I have tried to address some issues in random number generation by implementing a new generator common for cpu and gpu (https://github.com/dmlc/mshadow/pull/338), but no one might be interested in the proposal :grin:
---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services
