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

Cleanup compositional fluid model #2812

Merged
merged 11 commits into from
Dec 11, 2023

Conversation

dkachuma
Copy link
Contributor

@dkachuma dkachuma commented Nov 10, 2023

  • Removes some terrible debugging code
  • Moves some physical constants to common/PhysicsConstants.hpp.
  • Ensures that the m_componentNames private member in ComponentProperties is used.
  • Marks functions in geos::units as GEOS_HOST_DEVICE. These are called in some compute kernels causing excessive warnings sometimes (Host-device decorate conversion functions #2860).

@dkachuma dkachuma added the type: cleanup / refactor Non-functional change (NFC) label Nov 10, 2023
@dkachuma dkachuma requested a review from MelReyCG November 10, 2023 03:04
@dkachuma dkachuma self-assigned this Nov 10, 2023
@dkachuma dkachuma marked this pull request as ready for review November 10, 2023 03:05
@dkachuma dkachuma requested a review from TotoGaz November 10, 2023 03:13
@dkachuma dkachuma mentioned this pull request Nov 10, 2023
24 tasks
Copy link
Contributor

@TotoGaz TotoGaz left a comment

Choose a reason for hiding this comment

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

Thanks!

src/coreComponents/common/Units.hpp Show resolved Hide resolved
@paveltomin
Copy link
Contributor

does it fix #2860 ?

Copy link
Contributor

@MelReyCG MelReyCG left a comment

Choose a reason for hiding this comment

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

To me, everything looks good!

Sorry for forgetting these GEOS_HOST_DEVICE. How can I see these warnings in the future? In the CI?

@TotoGaz
Copy link
Contributor

TotoGaz commented Dec 4, 2023

Sorry for forgetting these GEOS_HOST_DEVICE. How can I see these warnings in the future? In the CI?

Not a problem. Yes, you can have a look at it in the CI.
We do not have the same warning-as-error policy on CUDA I guess.

@dkachuma dkachuma added the ci: run CUDA builds Allows to triggers (costly) CUDA jobs label Dec 4, 2023
@dkachuma
Copy link
Contributor Author

dkachuma commented Dec 4, 2023

does it fix #2860 ?

Yes it should.

@dkachuma dkachuma linked an issue Dec 4, 2023 that may be closed by this pull request
@TotoGaz TotoGaz added the ci: run integrated tests Allows to run the integrated tests in GEOS CI label Dec 8, 2023
@TotoGaz TotoGaz added flag: no rebaseline Does not require rebaseline and removed ci: run integrated tests Allows to run the integrated tests in GEOS CI labels Dec 9, 2023
@TotoGaz
Copy link
Contributor

TotoGaz commented Dec 9, 2023

Hello @dkachuma Can you manage the conflict? Then we can merge your PR 🎉

@TotoGaz TotoGaz linked an issue Dec 11, 2023 that may be closed by this pull request
@TotoGaz TotoGaz merged commit f3e7ac3 into develop Dec 11, 2023
19 checks passed
@TotoGaz TotoGaz deleted the cleanup/dkachuma/remove-terrible-debug-code branch December 11, 2023 18:32
ouassimkh pushed a commit that referenced this pull request Feb 16, 2024
- Removes some terrible debugging code
- Moves some physical constants to `common/PhysicsConstants.hpp`.
- Ensures that the `m_componentNames` private member in `ComponentProperties` is used.
- Marks functions in `geos::units as GEOS_HOST_DEVICE`. These are called in some compute kernels causing excessive warnings sometimes (Host-device decorate conversion functions #2860).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci: run CUDA builds Allows to triggers (costly) CUDA jobs flag: no rebaseline Does not require rebaseline flag: ready for review type: cleanup / refactor Non-functional change (NFC)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

private field 'm_componentNames' is not used Host-device decorate conversion functions
4 participants