krrishnarraj/clpeak — pull request #6 by ribalda (2014-11-03 16:12:32+00:00)
Title: Fix cross-compilation and speed-up roundToPowOf2

The -march=native can override build system cflags, breaking the program on the target device.

roundtoPowOf2 can be implemented withouh doubles, an implementation with binary logic and another with gcc intrinsics is attached :)