Skip to content

Add pto ir/op -> emitC -> pto-isa. - #1325

Draft
and0d0 wants to merge 9 commits into
hw-native-sys:mainfrom
and0d0:set_op
Draft

Add pto ir/op -> emitC -> pto-isa.#1325
and0d0 wants to merge 9 commits into
hw-native-sys:mainfrom
and0d0:set_op

Conversation

@and0d0

@and0d0 and0d0 commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

PTO op适配(到emitC PTO-isa):
TINTERLEAVE、TDEINTERLEAVE、TPAIRREDUCESUM(PTO isa中删除)

下一个conv相关:
and0d0#13

@and0d0
and0d0 marked this pull request as draft August 24, 2026 01:57
Comment thread lib/PTO/IR/PTO.cpp
return dispatchVerifierByArch(getOperation(), verifyByArch, verifyByArch);
}

mlir::LogicalResult mlir::pto::TPairReduceSumOp::verify() {

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

verify 条件来自pto-isa中的相关约束
在此约束是否符合预期?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

符合预期

Comment thread include/PTO/IR/PTOOps.td
}

def TPairReduceSumOp: PTO_TOp<"tpairreducesum", [
PTO_DpsInitOpInterface,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个op不是被pto-isa删除了嘛?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants