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

[ROCM]:Delete the special target and fix compiler options #55507

Merged
merged 2 commits into from Aug 16, 2023

Conversation

onepick
Copy link
Contributor

@onepick onepick commented Jul 18, 2023

PR types

Bug fixes

PR changes

Others

Description

去掉rocm gpu target的绑定, 否则jit将会仅仅生成指定target的kernel

'--include-path' is not supported by hipcc on rocm4.5 and 5.0 above
"-I" is better choice

half datatype has been rocm buildin type
fix ut:
* device_code_test
* test_code_generator
* test_fusion_group_pass
* test_fusion_group_op

runtime compiler api will only build special target if it is bind.

'--include-path' is not supported by hipcc and "-I/include/folder"
is better choice

fix ut:
        * device_code_test
        * test_code_generator
        * test_fusion_group_pass
        * test_fusion_group_op

Signed-off-by: jiajuku <jiajuku12@163.com>
@paddle-bot
Copy link

paddle-bot bot commented Jul 18, 2023

你的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 contributor External developers status: proposed labels Jul 18, 2023
@luotao1 luotao1 self-assigned this Jul 18, 2023
@onepick
Copy link
Contributor Author

onepick commented Jul 19, 2023

@luotao1 看上去PR-CI-Windows-OPENBLAS中的fail是matplotlib相关,跟这次提交的代码没什么相关性

@luotao1
Copy link
Contributor

luotao1 commented Jul 19, 2023

windows的问题正在修复中,可以先把其他流水线过了

@paddle-ci-bot
Copy link

paddle-ci-bot bot commented Jul 27, 2023

Sorry to inform you that 1a25fd8's CIs have passed for more than 7 days. To prevent PR conflicts, you need to re-run all CIs manually.

@onepick
Copy link
Contributor Author

onepick commented Aug 16, 2023

windows的问题正在修复中,可以先把其他流水线过了

all CI pass, @luotao1 麻烦安排下review

Copy link
Contributor

@ronny1996 ronny1996 left a comment

Choose a reason for hiding this comment

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

LGTM

@ronny1996 ronny1996 merged commit 4d50187 into PaddlePaddle:develop Aug 16, 2023
27 checks passed
@onepick onepick deleted the fix-ut branch April 23, 2024 07:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor External developers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants