Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Performance] Improving speed by splitting kernels (#97)
With this patch, kernels can be splitted into odd and even parts in order to make computation faster. If the processor is powerful enough, these two parts can be executed in parallel by out-of-order execution. However, there is some overhead that is required to split the original kernel into two. The degree of speed-up depends on the micro architecture, and the split kernels may be slower on some micro architectures. This feature is enabled by SPLIT_KERNEL macro, and currently, it is enabled only for AVX2 and AVX512F. This change affects computation speed of many functions, but for example, the ratio of execution time between the previous version and the new version of asind4_u35 is 2.08.
- Loading branch information