[Mlir-commits] [mlir] [mlir] Add description to amdgpu.dpp and rocdl.update.dpp (PR #116598)
Krzysztof Drewniak
llvmlistbot at llvm.org
Mon Nov 18 10:02:59 PST 2024
================
@@ -437,6 +437,11 @@ def AMDGPU_DPPOp : AMDGPU_Op<"dpp", [SameTypeOperands, AllTypesMatch<["result",
let summary = "AMDGPU DPP operation";
let description = [{
This operation represents DPP functionality in a GPU program.
+
+ The behavior should be equivalent to:
----------------
krzysz00 wrote:
While on the one hand, this is a low-level operation one might want to crack open the ISA manual for, I think we could also roughly specify the behavior here like you said.
Something like
This operation will result in the values from the `src` argument, permuted according to the DPP attributes (the permutation, row mask, and bounds control arguments). If a lane is masked off or has no value to receive, this operation will instead produce the value of `old`.
https://github.com/llvm/llvm-project/pull/116598
More information about the Mlir-commits
mailing list