intel/x86-simd-sort

Lower-version gcc can`t support Optimization Pragmas.

Closed this issue · 1 comments

ruclz commented

We attempt to merge avx512-sort to oceanbase, compared with std::sort, the avx512-sort has an obvious perf. improvement. But there is a problem when merging new x86_simd_sort into oceanbase. We found that, you added some GCC Optimization Pragmas in the latest version of x86-simd-sort. Such as “#pragma GCC unroll 8” . The default GCC version of oceanbase is gcc5.2.0, it seems that this gcc doesn`t support these pragmas. The error is like this:
image

Please help to fix.

See #46 and let me know if it resolves your issue.