trunk/373ac598ff432bea957f4885acf8a9bea16c2880: Enable Sleef in the NNC LLVM codegen on aarch64 (#198002) (#198002)
- PyTorch 近 90 天出现 1416 次
- PyTorch 近 90 天第 1398 次发版
- 上一次:同一天稍早 · trunk/80e7e60b9808464040ce4b9b40adeb38a79e8ca4
发生了什么
Summary: NNC's LLVM backend only ever reached Sleef on x86. Two things blocked aarch64, and either one alone was sufficient: intrinsic_symbols.cpp registers the Sleef_* symbols with the JIT inside a #if !defined(_MSC_VER) && defined(__x86_64__) block, so on aarch64 the JIT knew about no vector math symbols at all. getSimdFunction() gated vectorized lowering on the target feature string containing +avx , which is nev…
摘要按规则整理自下方来源原文