[all-commits] [llvm/llvm-project] e0fdc3: [AMDGPU] Introduce asyncmark/wait intrinsics
Sameer Sahasrabuddhe via All-commits
all-commits at lists.llvm.org
Mon Feb 9 06:53:29 PST 2026
Branch: refs/heads/users/ssahasra/asyncmark-wait
Home: https://github.com/llvm/llvm-project
Commit: e0fdc334c31203e5811f0dcb88f940a6bb436e2b
https://github.com/llvm/llvm-project/commit/e0fdc334c31203e5811f0dcb88f940a6bb436e2b
Author: Sameer Sahasrabuddhe <sameer.sahasrabuddhe at amd.com>
Date: 2026-02-09 (Mon, 09 Feb 2026)
Changed paths:
M clang/include/clang/Basic/BuiltinsAMDGPU.td
A clang/test/CodeGenOpenCL/builtins-amdgcn-asyncmark-errs.cl
A clang/test/CodeGenOpenCL/builtins-amdgcn-asyncmark.cl
M llvm/include/llvm/IR/IntrinsicsAMDGPU.td
M llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
M llvm/lib/Target/AMDGPU/AMDGPUMCInstLower.cpp
M llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
M llvm/lib/Target/AMDGPU/SIInstrInfo.h
M llvm/lib/Target/AMDGPU/SOPInstructions.td
M llvm/test/CodeGen/AMDGPU/async-buffer-loads.ll
A llvm/test/CodeGen/AMDGPU/asyncmark-err.ll
A llvm/test/CodeGen/AMDGPU/asyncmark-max-pregfx12.ll
M llvm/test/CodeGen/AMDGPU/asyncmark-pregfx12.ll
Log Message:
-----------
[AMDGPU] Introduce asyncmark/wait intrinsics
Asynchronous operations are memory transfers (usually between the global memory
and LDS) that are completed independently at an unspecified scope. A thread that
requests one or more asynchronous transfers can use async marks to track their
completion. The thread waits for each mark to be completed, which indicates that
requests initiated in program order before this mark have also completed.
For now, we implement asyncmark/wait operations on pre-GFX12 architectures that
support "LDS DMA" operations. Future work will extend support to GFX12Plus
architectures that support "true" async operations.
Co-authored-by: Ryan Mitchell ryan.mitchell at amd.com
Fixes: SWDEV-521121
Commit: 3f6a67c481131aaaeed12f52b402d1bad5dbee26
https://github.com/llvm/llvm-project/commit/3f6a67c481131aaaeed12f52b402d1bad5dbee26
Author: Sameer Sahasrabuddhe <sameer.sahasrabuddhe at amd.com>
Date: 2026-02-09 (Mon, 09 Feb 2026)
Changed paths:
M llvm/lib/Target/AMDGPU/SIInstrInfo.h
Log Message:
-----------
don't move usesLGKM_CNT()
Compare: https://github.com/llvm/llvm-project/compare/6bd4d28fe07d...3f6a67c48113
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list