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

Changed all references and pointers to Handle to be const #3402

Open
wants to merge 9 commits into
base: develop
Choose a base branch
from

Conversation

DrizztDoUrden
Copy link
Contributor

@DrizztDoUrden DrizztDoUrden commented Nov 22, 2024

This allows things like ExecutePrimitive to be called without non-const Handle

Copy link
Collaborator

@BradPepersAMD BradPepersAMD left a comment

Choose a reason for hiding this comment

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

Love to see const correctness improved! Need to follow same declaration syntax used for const on other references.

src/adam.cpp Outdated Show resolved Hide resolved
src/include/miopen/execution_context.hpp Outdated Show resolved Hide resolved
src/include/miopen/mlo_internal.hpp Outdated Show resolved Hide resolved
Copy link
Collaborator

@BrianHarrisonAMD BrianHarrisonAMD left a comment

Choose a reason for hiding this comment

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

Looks good to me!

Love to see it!

Copy link
Contributor

@shurale-nkn shurale-nkn left a comment

Choose a reason for hiding this comment

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

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants