Take the fix/amd-view-heap-clamp branch of triippywhale's fork (as one commit)
Every host view heap ends at a null slot that view indices past the heap read (a host that takes large heaps gets 2^21 views; one that caps them keeps the capped heap), the cache key includes that limit, and v_permlane16/x16 are lowered. Both forks lower v_cvt_f32_f64. The IEEE form with its test is the one in use; this branch's flush-to-zero form is kept beside it, unused, and its test is ignored until the console's float mode for the instruction is checked. Co-Authored-By: Claude Fable 5.2 <[email protected]>
This commit is contained in:
1 parent
a56ad16e30
commit
2f4b35f5b1
6 files changed
+302
-49
No files matched your search
@@ -54,6 +54,10 @@ fn build() -> &'static [u8; 32] {
|
||||
match exe {
|
||||
Ok(mut bytes) => {
|
||||
bytes.extend_from_slice(&limit.to_le_bytes());
|
||||
// So is the view heap's null slot (it differs by host GPU):
|
||||
// a translation cached without the clamp must not be served.
|
||||
crate::descriptor::host::probe_view_limit();
|
||||
bytes.extend_from_slice(&victory_shader::emit::view_heap_limit().to_le_bytes());
|
||||
// Which group barriers wait is part of the translation too.
|
||||
bytes.push(victory_shader::emit::group_sync());
|
||||
// So are the switches that pick the form of a wave64 program:
|
||||
|
||||
Reference in new issue
Block a user