Skip to content

refactor: 简化算子设计 #20

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 14 commits into
base: main
Choose a base branch
from
Draft

refactor: 简化算子设计 #20

wants to merge 14 commits into from

Conversation

YdrMaster
Copy link
Owner

No description provided.

@YdrMaster YdrMaster self-assigned this Feb 27, 2025
@YdrMaster YdrMaster marked this pull request as draft February 27, 2025 11:20
pwhMass and others added 2 commits May 7, 2025 21:01
需要注意目前 ARRAY_SIZE 的大小是5,该常亮与可接受的Tensor的维度有关,但太大会导致kernel计算量增大
Operator 需要用到max_warps_block,warp_size来辅助计算,目前并未用到
block_size 目前固定位256,可进一步优化
enhancement: 优化rearrange算子
YdrMaster and others added 3 commits May 7, 2025 22:03
Signed-off-by: YdrMaster <[email protected]>
Signed-off-by: YdrMaster <[email protected]>
Signed-off-by: YdrMaster <[email protected]>
Comment on lines +539 to +542
println!(
"compile unit_size: {}, constrain_num: {}",
unit_size, constrain_num
);

Check warning

Code scanning / clippy

variables can be used directly in the format! string Warning

variables can be used directly in the format! string
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