tustvold commented on PR #3452: URL: https://github.com/apache/arrow-rs/pull/3452#issuecomment-1371519508
> I don't think it's reasonable to expect users to use target-cpu beyond local testing or targeting a particular embedded system I don't disagree that it is definitely not ideal, but it also is not really feasible for us to generate multiple versions of all our kernels, as we already have severe issues with the amount of codegen and the corresponding build times. Correct me if I am mistaken, but if a user enabled AVX using `target-cpu` the produced binary will support 95% of the CPUs in the latest Steam Hardware Survey. A more aggressive `target-cpu=haswell` will still support almost all CPUs from this decade. I'm inclined to think most people can safely make this trade-off? Ultimately whatever solution we come up with, we need to be able to apply consistently. I personally am eagerly awaiting stable SIMD support as despite a non-trivial amount of arcane hackery the LLVM generated code for many kernels is still sub-optimal, in some cases by orders of magnitude. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
