Repository navigation
Commit ae56bbc
[Common] Fix CUDA 12.8 build: use an L2 policy in the 128-bit evict_first load fallback (#3602)
The 128-bit fallback of ptx::ld_global_nc_evict_first_b32x8 emitted
ld.global.nc.L2::evict_first.v4.b32, but the .L2::evict_first load
qualifier is only valid on 256-bit accesses (CUDA 12.8's ptxas does not
accept it on ld at all). The fallback is compiled for Blackwell targets
with CUDA < 12.9, so building those targets with CUDA 12.8 failed.
Express the same hint through createpolicy.fractional.L2::evict_first
(fraction 1.0) and ld.global.nc.L2::cache_hint.v4.b32, as the helper's
comment already describes and as ld_global_nc_b32x8 with a policy does.
The 256-bit path is unchanged.
Fixes #3601
Signed-off-by: Ravi M <ravitejamajeti@gmail.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>1 parent f38a1fc commit ae56bbc
1 file changed
Lines changed: 9 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1802 | 1802 | | |
1803 | 1803 | | |
1804 | 1804 | | |
1805 | | - | |
| 1805 | + | |
| 1806 | + | |
1806 | 1807 | | |
1807 | 1808 | | |
1808 | 1809 | | |
| |||
1812 | 1813 | | |
1813 | 1814 | | |
1814 | 1815 | | |
| 1816 | + | |
| 1817 | + | |
| 1818 | + | |
1815 | 1819 | | |
1816 | | - | |
| 1820 | + | |
1817 | 1821 | | |
1818 | | - | |
1819 | | - | |
| 1822 | + | |
| 1823 | + | |
1820 | 1824 | | |
1821 | | - | |
| 1825 | + | |
1822 | 1826 | | |
1823 | 1827 | | |
1824 | 1828 | | |
| |||
0 commit comments