re-render threads with user handle of reply.
This commit is contained in:
1 parent
1ceb4b1583
commit
f8380db665
515 files changed
+2042
-1496
No files matched your search
+6
-6
@@ -26,27 +26,27 @@ parent_post_id: "2084985800836477433"
|
||||
|
||||
## Branch
|
||||
|
||||
**1/**
|
||||
**1/** @NOTimothyLottes
|
||||
|
||||
@Triang3l That clause based arch was interesting in many ways, mem clause articulates the boundary for write combining. Was also easy to engineer slow perf by fine granularity predication too.
|
||||
|
||||
**2/**
|
||||
**2/** @Triang3l
|
||||
|
||||
@NOTimothyLottes But what is even a memory clause when MEM_RAT is a control flow instruction, or did the GPU group consecutive MEM_RATs into an implicit "clause"? I also wonder when you can mix RAT and RAT_CACHELESS (the OpenCL compiler apparently just stops using DB at all if CB is ever needed).
|
||||
|
||||
**3/**
|
||||
**3/** @NOTimothyLottes
|
||||
|
||||
@Triang3l My understanding is that youd need UNCACHED for both write and read. So wouldn’t be all that useful perf wise. My guess is the transition from MEM_EXPORT to MEM_RD (where youd do UNCACHED) implicitly waits for uncached write visibility.
|
||||
|
||||
**4/**
|
||||
**4/** @Triang3l
|
||||
|
||||
@NOTimothyLottes Yeah, I really hope so… But I guess I should just look at D3D11/GL/CL shader dumps. So many scary things involved, like WAIT_ACK, and that mention of SCOption_R800_UAV_NONUAV_SYNC_WORKAROUND_BUG216513_1 in disassembly. Unless they just fall back to RAT NOP_RTN for all loads 🤷♂️
|
||||
|
||||
**5/**
|
||||
**5/** @NOTimothyLottes
|
||||
|
||||
@Triang3l Haha oops, very foggy, sounds like it is explicit via WAIT_ACK, rather than implicit. Fees like the predecessor to s_waitcnt in many respects.
|
||||
|
||||
**6/**
|
||||
**6/** @NOTimothyLottes
|
||||
|
||||
@Triang3l There are a lot of good cases to have the same memory bound as read and write simultaneously, but under an implicit contract of no r/w overlap for a given cache line . Then dont need uncached reads, but probly would need WAIT_ACK still if write order visibility matters.
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ in_reply_to: ""
|
||||
|
||||
## Thread
|
||||
|
||||
**1/**
|
||||
**1/** @Triang3l
|
||||
|
||||
"writes … have write-only caches that are invalidated, and all update bits are sent to memory AT THE END OF A CLAUSE"
|
||||
|
||||
@@ -35,7 +35,7 @@ Far easier to list what makes sense in TeraScale compute shaders than what doesn
|
||||
|
||||
Branches: [[archive/threads/Triang3l/2026-08-05-writes-have-write-only-caches-that-are/2026-08-05-NOTimothyLottes-that-clause-based-arch-was-interesting-in-many]]
|
||||
|
||||
**2/**
|
||||
**2/** @Triang3l
|
||||
|
||||
A clause is a sequence of ALU, buffer/texture SRV fetch, or LDS/GDS instructions.
|
||||
|
||||
@@ -43,6 +43,6 @@ However, UAV writes are "control flow" export instructions outside clauses.
|
||||
|
||||
But you can read from buffer UAVs via uncached SRVs (quicker), but what if you read in the first clause after the write?
|
||||
|
||||
**3/**
|
||||
**3/** @Triang3l
|
||||
|
||||
(Though it's pretty pointless to read back the value just written to an SSBO, but with storage texel buffers that may be done for format conversion.)
|
||||
Reference in new issue
Block a user