STEllAR-GROUP / phylanx

An Asynchronous Distributed C++ Array Processing Toolkit
Boost Software License 1.0
75 stars 76 forks source link

Adding distributed random #1132

Closed taless474 closed 4 years ago

taless474 commented 4 years ago

This PR adds a distributed random primitive, that generates the array and its attached annotation for the given tile index and the number of tiles, using a normal distribution. As parts of tile calculations were the same as those in distributed constant, they are moved to a header file. Also, for both distributed constant and random arrays, unique names are generated using atomic counters.