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

tools(profiling): fix typo Kokkos_Tools_Optim[i]zationGoal #6642

Merged
merged 1 commit into from
Dec 1, 2023

Conversation

romintomasetti
Copy link
Contributor

@romintomasetti romintomasetti commented Dec 1, 2023

This PR accompanies kokkos/kokkos-tools/pull/221.

It fixes the typo Kokkos_Tools_OptimzationGoal to Kokkos_Tools_OptimizationGoal.

Risks

  • No risk: For people fetching this change, there would be a clear compilation error if they relied on the old name. They would simply need to fix the typo on their side as well.
  • Minor risk: For tools that have been compiled in the past, this might be a breaking change. However, we deem there are not so many tools out there that rely on this "optimization goal" feature. We could mitigate this risk by making the change enclosed in a "deprecated code" region.

@romintomasetti romintomasetti changed the title tools(profiling): type (related to kokkos/kokkos-tools/pull/221) tools(profiling): fix typo Kokkos_Tools_Optim[i]zationGoal Dec 1, 2023
Copy link
Member

@dalg24 dalg24 left a comment

Choose a reason for hiding this comment

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

Although obviously this was a typo, this would be a breaking change.
We need to discuss whether it is acceptable/worth to proceed.

Copy link
Contributor

@masterleinad masterleinad left a comment

Choose a reason for hiding this comment

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

I think we should just add a deprecated alias.

@dalg24
Copy link
Member

dalg24 commented Dec 1, 2023

Tuning is still considered experimental and it is unlikely to be broadly used so I am not necessarily opposed to fix.
I supposed if we are really worried we could increment KOKKOSP_INTERFACE_VERSION.

@dalg24
Copy link
Member

dalg24 commented Dec 1, 2023

I think we should just add a deprecated alias.

An alias in C? How would that work? :)

@masterleinad
Copy link
Contributor

An alias in C? How would that work? :)

Yeah, didn't pay attention that this is the C interface.

Tuning is still considered experimental and it is unlikely to be broadly used so I am not necessarily opposed to fix.

I agree.

@romintomasetti
Copy link
Contributor Author

So, what's next then ? 😆

@dalg24
Copy link
Member

dalg24 commented Dec 1, 2023

@khuck how do you feel about that change?

@khuck
Copy link

khuck commented Dec 1, 2023

@khuck how do you feel about that change?

It's fine with me, I don't use that symbol in APEX...

@dalg24
Copy link
Member

dalg24 commented Dec 1, 2023

Ignoring Jenkins CI

@dalg24 dalg24 merged commit c3dde62 into kokkos:develop Dec 1, 2023
28 of 30 checks passed
@masterleinad masterleinad mentioned this pull request Feb 9, 2024
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.

None yet

4 participants