mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #330] [CLOSED] V100 (sm_70): the compute-capability floor drops from 7.5 to 7.0 #2580
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#2580
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/330
Author: @taweili
Created: 10/1/2026
Status: ❌ Closed
Base:
main← Head:v100📝 Commits (1)
19b2a7aV100 (sm_70): the compute-capability floor drops from 7.5 to 7.0📊 Changes
4 files changed (+204 additions, -15 deletions)
View changed files
📝
CMakeLists.txt(+4 -4)➕
docs/NVIDIA_V100.md(+188 -0)📝
setup.py(+4 -4)📝
src/core/device.cu(+8 -7)📄 Description
The three places the 7.5 floor was written down all go to 7.0, and the messages now name the card the check begins with instead of the one it used to exclude:
_baseis stripped of its -real/-virtual suffix first, so 70 and 70-virtual both pass; STRATA_EXPERIMENTAL_SM60 still admits a Pascal build below it.A fourth place the floor is written down is engine/BUILD.json, which is not edited: build_engine() and the HIP builder both write it, and the prebuilt carries its own copy. Until the release tooling (tools/make_release.py, absent from this tree) emits an sm_70 asset, a V100 gets the compile-locally path - get_prebuilt() sees no code for arch 70 and falls through to build_engine(), which compiles for gpu["arch"]. The same shape as the unsupported-GPU model in docs/AMD_HIP.md.
No kernel changes. The sm_80 guards were written for the experimental sm_75 build and key off cc_major < 8 or CUDA_ARCH < 800, which sm_70 satisfies: qsa_block_scores_tc and qsa_prompt_attn_batch both refuse a V100 and prefill runs the old warp and decode kernels, and fused_gr sizes its chunk from cudaDevAttrMaxSharedMemoryPerBlockOptin, which a V100 answers with 96 KB - more than the 64 KB the Turing comment already anticipated. Only Volta's missing cp.async and TF32 mma cost anything, so the risk is performance rather than correctness.
docs/NVIDIA_V100.md: the gate-by-gate walk, which translation units actually use sm_80 instructions (and that native_qsa_score has no caller outside its HIP test), the Volta/Turing/Ampere comparison, and the open points - the cc_major < 8 guards are coarse enough that an eventual Turing tensor-core path needs a finer split, and the V100's doubled resident warps per SM mean the fallback kernels' register and shared-memory pressure should be measured rather than assumed.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.