Skip to content

Guard HIP macro against redefinition - #21061

Merged
antiagainst merged 1 commit into
iree-org:mainfrom
erieaton-amd:rocprof
Jun 11, 2025
Merged

antiagainst merged 1 commit into
iree-org:mainfrom
erieaton-amd:rocprof

Conversation

@erieaton-amd

@erieaton-amd erieaton-amd commented Jun 9, 2025 •

Copy link
Copy Markdown
Contributor

This is necessary for IREE to be built against the tracy with rocprof fork. The rocprof cmake module defines this macro; causing a redefinition error in IREE.

Tracy fork here: https://github.com/nod-ai/smutracy/tree/rocprofv3

@erieaton-amd
erieaton-amd requested a review from AWoloszyn as a code owner June 9, 2025 22:15

@benvanik benvanik left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This is necessary for IREE to be built against the tracy with rocprof
fork. The rocprof cmake module defines this macro; causing a
redefinition error in IREE.

Tracy fork here: https://github.com/nod-ai/smutracy/tree/rocprofv3

Signed-off-by: Eric Eaton <[email protected]>
@antiagainst
antiagainst merged commit b8fee18 into iree-org:main Jun 11, 2025
AWoloszyn pushed a commit that referenced this pull request Dec 1, 2025
This is necessary for IREE to be built against the tracy with rocprof
fork. The rocprof cmake module defines this macro; causing a
redefinition error in IREE.

Signed-off-by: Eric Eaton <[email protected]>
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.

3 participants