onnxruntime
0db6c0e8 - Restrict XQA CUDA compilation to SM80 and newer (#32547)

Commit
56 days ago
Restrict XQA CUDA compilation to SM80 and newer (#32547) ### Description - Extract XQA CUDA sources into dedicated object libraries. - Filter those targets to SM80+ architectures. - Apply identical routing to the standard and plugin CUDA providers. - Preserve existing fallback behavior for configurations without SM80+ targets. ### Motivation and Context CUDA 13.3 can emit unresolved XQA `kernel_mha` references when SM75 and SM80+ architectures are compiled together, causing the final shared-library link to fail. XQA requires SM80+, so excluding its sources from the SM75 compilation pass avoids the inconsistent kernel emission. <!-- START COPILOT CODING AGENT SUFFIX --> - Fixes #32423 --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: tianleiwu <30328909+tianleiwu@users.noreply.github.com> Co-authored-by: Tianlei Wu <tlwu@microsoft.com>
Author
Parents
Loading