================ @@ -3303,6 +3303,17 @@ The field indicates how much data is fetched on a cache miss. It is only support on GFX13. GFX13 only honors it for load and atomic operations. GFX13 does not support a 32-byte fetch size so it treats CFS_32B the same as CFS_64B. +(amdgpu_noclobber)= + +### '`amdgpu.noclobber`' Metadata + +If a `load` instruction marked as `!amdgpu.noclobber` may see any write +other than the initialization of that location at kernel launch according to the ---------------- ssahasra wrote:
> I'd say that the writes the load may see must all happen-before (not sure > about availability, I think that might not be necessary for this aspect) the > dispatching operation in the host I think we should always talk about availability. `location-order` is now the "observable happens-before" for most purposes. It's just that we will always include availability in big operations like dispatching a kernel, which is governed in Vulkan by `system-synchronize-with`. > L returns undef if any of these writes does not happen-before the operation that dispatches the kernel executing L. Yeah, but like you said, for that our relations should not stop at dispatch boundaries. We are facing the same limitation with multicast operations on gfx125x too. There, we decided to simply say "the location must not be written to during the lifetime of the dispatch". This should eventually be translated to a `amdgpu-happens-before` and a `location-order` at system scope. https://github.com/llvm/llvm-project/pull/219991 _______________________________________________ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
