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

Retrieve original value from a point in a MultidimensionalSparseTuningProblem #3977

Merged

Conversation

DavidPoliakoff
Copy link
Contributor

This allows a user to get a configuration from a MSTP given a point in its configuration space. This means that if a tool can produce code representing its heuristics, the generated code can be used in a library to configure itself without a tuner

@Rombur
Copy link
Member

Rombur commented Apr 28, 2021

You need to reformat the code.

Copy link
Member

@Rombur Rombur left a comment

Choose a reason for hiding this comment

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

This looks good but I think it would be useful to have a test to make sure it works as intended

@DavidPoliakoff
Copy link
Contributor Author

@Rombur added tests. Unfortunately, even with clang-format from clang 8.0.0, clang-format -i on the failing files isn't changing anything for me (and it does pick up the .clang-format we want). I may just manually change what the patch says to do, but it's a bit obnoxious to have to fight this hard over " &" versus "& "

@Rombur
Copy link
Member

Rombur commented Apr 29, 2021

I think there is a problem with the last commit. The commit message says that you added a test but the commit itself just removes a blank line.

@masterleinad
Copy link
Contributor

Also, there a lot of whitespace changes that are out-of-sope... Not sure what's going on.

@DavidPoliakoff
Copy link
Contributor Author

Again, if it passes CI, I don't worry further about formatting. It's just not the important thing to me

@masterleinad
Copy link
Contributor

I think the still you wanted to add is still missing.

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.

Otherwise, this looks OK to me.

@crtrott crtrott merged commit 3f521c5 into kokkos:develop May 6, 2021
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