Hi all,
Can you help me test our implementation of the Fast Hadamard Transform? It will take you a couple of minutes provided that you have modern enough C and C++ compilers. I'm especially interested in testing it under OS X and 32-bit systems.
You would need to have gcc that would compile C99 and g++ that would compile C++11. Also, you would need make to build everything.
What you need to do:
- Tell me your OS and CPU.
- Download the code from http://ilyaraz.org/fht.zip and unzip.
- Run "make", tell me if something does not compile.
- Run "test", make sure it does not fail. Tell me, if it fails.
- Run "best_chunk" with n = 1024, 1048576, 134217728 and send me the outputs.
Thanks! Ilya
Auto comment: topic has been updated by ilyaraz (previous revision, new revision, compare).
Outputs
Thank you!
http://pastebin.com/xdJHppcv
Thank you!
http://pastebin.com/tzU7JmVG
Thank you!
Output
Thanks! Your CPU is the fastest so far! :)
http://pastebin.com/cz7tuJXb
Thanks!
What does "gcc -v" say? Do you have clang or a proper gcc?
Hm, looks like it's an issue on your side: https://github.com/Homebrew/homebrew/issues/40762
OS X 10.10.5/2.6 GHz Intel Core i7: clang, gcc-5.2.0
Linux 4.0.4/2.20 GHz Intel Xeon E5-2660: gcc-4.8.1
All tests ok.
Thanks!
http://pastebin.com/c7XGqD8t
Thanks!
http://pastebin.com/FfMGpefA
Thanks!
OS X: 10.11.1 CPU: 2.5GHz, Core i5 Memory: 8GB 1.6GHz DDR3
For Mega Boss: http://pastebin.com/sVz9HXZm
P.S. How to put a line break?
Thanks!
Linux 4.0.4-301.fc22.x86_64 Intel(R) Xeon(R) CPU E3-1285 v3 @ 3.60GHz
Link: http://pastebin.com/dxu5XLFD