-
-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generic non-SIMD, platform-agnostic version? #59
Comments
Hi @barracuda156 , EigenRand actually has non-SIMD implementations like Eigen does. Every RNG of EigenRand has both scalarOp implementation (non-SIMD) & packetOp implementation (SIMD) and proper operation would be selected by Eigen's logic. For example, EigenRand/EigenRand/Dists/NormalExp.h Lines 35 to 59 in f3190cd
and packet version: EigenRand/EigenRand/Dists/NormalExp.h Lines 60 to 83 in f3190cd
And only when packet operation is available, the latter one is selected by EigenRand/EigenRand/RandUtils.h Line 137 in f3190cd
So, if you compile the code using EigenRand on other platforms, |
Thank you very much for a detailed reply! I will try it. |
The website mentions that "EigenRand currently supports only x86-64 architecture (SSE, AVX, AVX2) and ARM64 NEON". Can non-SIMD version be added? Or it won't make sense?
Otherwise other platforms (PowerPC, RISC-V) cannot be supported.
The text was updated successfully, but these errors were encountered: