Skip to content
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

[TJU][CINN][Add Backend Pass Comment No.6] Add comment for longlong2int #70448

Closed
wants to merge 2 commits into from

Conversation

fxy1699
Copy link
Contributor

@fxy1699 fxy1699 commented Dec 25, 2024

PR Category

CINN

PR Types

Others

Description

为longlong2int添加注释

Copy link

paddle-bot bot commented Dec 25, 2024

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@paddle-bot paddle-bot bot added the contributor External developers label Dec 25, 2024
@fxy1699 fxy1699 changed the title [TJU][CINN][Add Backend Pass Comment No.6] Add comment for eliminate_common_global_memory_read [TJU][CINN][Add Backend Pass Comment No.6] Add comment for longlong2int Dec 25, 2024
@luotao1 luotao1 added the HappyOpenSource Pro 进阶版快乐开源活动,更具挑战性的任务 label Dec 25, 2024
Comment on lines +34 to +42
* When applied, this pass modifies the IR by:
* - Casting loop bounds (`min` and `extent`) and variable bounds from `int64_t`
* to `int32_t`.
* - Adjusting tensor shape dimensions and buffer metadata from `int64_t` to
* `int32_t`.
* - Ensuring all index expressions used in `Load` and `Store` operations are
* converted to `int32_t`.
* - Traversing schedule blocks and their variables, converting types from
* `int64_t` to `int32_t` where applicable.
Copy link
Contributor

Choose a reason for hiding this comment

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

这个pass还会先检查是否会溢出然后才转换

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor External developers HappyOpenSource Pro 进阶版快乐开源活动,更具挑战性的任务
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants