Registered Member
|
Hello all,
I am attempting to cross-compile the benchamrks for Eigen (ARM target; x64 host). Ultimately, I get a build failure for the benchmarker:
After cmake .. you can see it:
So, even though it has successuly detected my compiler from the supplied toolchain file, it seems to have difficulty detecting that it is an ARM platform:
I had to supply a cache file to see if it was 32-bit or 64-bit pointers:
Is there a way I can force the arcitecture and/or explicitly disable the SSE and enable NEON? Are there any other factors I should be aware of when cross-compiling. My build script looks like:
With the toolchain file being:
|
Moderator
|
The problem is in the file bench/btl/CMakeLists.txt foir which sse2 has been hardcoded. Feel free to update it to automatically detect the proper vectorization options, for instance using check_cxx_compiler_flag("-msse2" COMPILER_SUPPORT_MSSE2)... I'd be glad to push upstream any improvement you could made on this file.
|
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]