You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Currently matx::random<uint32_t> is not supported. the curand API supports uint types for some distributions, and MatX should support the same.
Describe the solution you'd like
Enable templated matx::random calls such as: (input = matx::random<uint32_t>({numChannels, numCols, numRows}, matx::UNIFORM)).run();
Describe alternatives you've considered
you can currently do this by generating floats and casting to uint, however this has a poorly defined distribution.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Currently
matx::random<uint32_t>
is not supported. the curand API supports uint types for some distributions, and MatX should support the same.Describe the solution you'd like
Enable templated
matx::random
calls such as:(input = matx::random<uint32_t>({numChannels, numCols, numRows}, matx::UNIFORM)).run();
Describe alternatives you've considered
you can currently do this by generating floats and casting to uint, however this has a poorly defined distribution.
The text was updated successfully, but these errors were encountered: