You just need to say it's a release build, that should enable the standard optimisations.
cmake -DCMAKE_BUILD_TYPE=Debug ..
or add this to CMakeLists.txt
set(CMAKE_BUILD_TYPE "Release")
As to why there is no difference, I suspect the majority of compute time is spent in the atanf2 function, which might not be one of the optimised ones.
cmake -DCMAKE_BUILD_TYPE=Debug ..
or add this to CMakeLists.txt
set(CMAKE_BUILD_TYPE "Release")
As to why there is no difference, I suspect the majority of compute time is spent in the atanf2 function, which might not be one of the optimised ones.
Statistics: Posted by jamesh — Fri Feb 02, 2024 6:02 pm