Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

C++ mangled name support in Kernel#2480

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
ypapadop-amd wants to merge13 commits intomain
base:main
Choose a base branch
Loading
fromypapadop-amd/mangled-name-support

Conversation

@ypapadop-amd
Copy link
Collaborator

No description provided.

"""
self._name=name

symbol_name=find_mangled_symbol(f"build/{bin_name}",name)
Copy link
CollaboratorAuthor

Choose a reason for hiding this comment

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

I need to figure out how to get the actual .o path here, it's just the name and then it happens to work during linking.

Copy link
Collaborator

Choose a reason for hiding this comment

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

I think there is a general implicit assumption that theprogramming_examples/basic/vector_reduce_min/vector_reduce_min.py file is called within the build dir.

Copy link
CollaboratorAuthor

@ypapadop-amdypapadop-amdAug 7, 2025
edited
Loading

Choose a reason for hiding this comment

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

Good call.aiecc.py is called in the build directory which does the linking, but the MLIR generation happens earlier. I currently need the object file earlier, unless I defer mangling until linking (which it would be the preferred approach).

Generating MLIR while in thebuild directory allows it to work correctly.

@ypapadop-amdypapadop-amdforce-pushed theypapadop-amd/mangled-name-support branch 2 times, most recently from39e2847 toeefb7c3CompareAugust 7, 2025 00:41
@ypapadop-amd
Copy link
CollaboratorAuthor

Maybe this would be better as an MLIR pass?

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

Reviewers

@mawad-amdmawad-amdmawad-amd left review comments

@AndraBiscaAndraBiscaAwaiting requested review from AndraBiscaAndraBisca will be requested when the pull request is marked ready for reviewAndraBisca is a code owner

@jackl-xilinxjackl-xilinxAwaiting requested review from jackl-xilinxjackl-xilinx will be requested when the pull request is marked ready for reviewjackl-xilinx is a code owner

@andrejandrejAwaiting requested review from andrejandrej will be requested when the pull request is marked ready for reviewandrej is a code owner

@pvasireddy-amdpvasireddy-amdAwaiting requested review from pvasireddy-amdpvasireddy-amd will be requested when the pull request is marked ready for reviewpvasireddy-amd is a code owner

@jgmelberjgmelberAwaiting requested review from jgmelberjgmelber will be requested when the pull request is marked ready for reviewjgmelber is a code owner

@hunhoffehunhoffeAwaiting requested review from hunhoffehunhoffe will be requested when the pull request is marked ready for reviewhunhoffe is a code owner

@denolfdenolfAwaiting requested review from denolfdenolf will be requested when the pull request is marked ready for reviewdenolf is a code owner

@fifieldfifieldAwaiting requested review from fifieldfifield will be requested when the pull request is marked ready for reviewfifield is a code owner

Copilot code reviewCopilotAwaiting requested review from CopilotCopilot will automatically review once the pull request is marked ready for review

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@ypapadop-amd@mawad-amd

[8]ページ先頭

©2009-2025 Movatter.jp