5 ms·
It actually does detect it using ifdef [0] but uses cmake stuff to avoid passing "-mavx512" kind of flags to the compiler [1]. [0] https://github.com/esutcu/p
by ozgrakkurt 6mo ago
It actually does detect it using ifdef [0] but uses cmake stuff to avoid passing "-mavx512" kind of flags to the compiler [1].
[0] https://github.com/esutcu/planb-lpm/blob/748d19d5fbd945cefa3c2b31c3c0f55c50858989/include/lpm6.hpp#L22 https://github.com/esutcu/planb-lpm/blob/748d19d5fbd945cefa3...
[1] https://github.com/esutcu/planb-lpm/blob/748d19d5fbd945cefa3c2b31c3c0f55c50858989/CMakeLists.txt#L15 https://github.com/esutcu/planb-lpm/blob/748d19d5fbd945cefa3...