uxlfoundation / oneAPI-spec

oneAPI Specification source files
https://spec.oneapi.com
Other
182 stars 102 forks source link

[oneMKL][RNG] Fixed some bugs for oneMKL RNG device API #525

Closed andreyfe1 closed 1 month ago

andreyfe1 commented 3 months ago

It doesn't make sense to keep constructors with std::initializer_list for mcg31m1 and mcg59 generators since one seed value is enough. Due to size of the state for mcg31m1 uint32_t is enough to store it. For mcg59 uint64_t is enough. So, let's keep only std::uint32_t seed for mcg31m1 and std::uint64_t seed for mcg59.

Feel free to provide your feedback.

rscohn2 commented 2 months ago

The repo will be moving to https://github.com/uxlfoundation Github should do automatic forwarding