CFD-GO / TCLB

TCLB - Templated MPI+CUDA/CPU Lattice Boltzmann code
https://tclb.io
GNU General Public License v3.0
178 stars 70 forks source link

Improved OpenMP support #443

Closed llaniewski closed 1 year ago

llaniewski commented 1 year ago

This PR improved the OpenMP support and introduces --cpu-layout option for better performance on CPUs.

codecov-commenter commented 1 year ago

Codecov Report

Patch coverage: 88.23% and project coverage change: +0.12% :tada:

Comparison is base (769d4b7) 43.98% compared to head (7b97a30) 44.10%. Report is 1 commits behind head on develop.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #443 +/- ## =========================================== + Coverage 43.98% 44.10% +0.12% =========================================== Files 166 166 Lines 7801 7818 +17 =========================================== + Hits 3431 3448 +17 Misses 4370 4370 ``` | [Flag](https://app.codecov.io/gh/CFD-GO/TCLB/pull/443/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=CFD-GO) | Coverage Δ | | |---|---|---| | [d2q9](https://app.codecov.io/gh/CFD-GO/TCLB/pull/443/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=CFD-GO) | `30.55% <80.00%> (+0.15%)` | :arrow_up: | | [d2q9_bc](https://app.codecov.io/gh/CFD-GO/TCLB/pull/443/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=CFD-GO) | `26.82% <73.33%> (+0.15%)` | :arrow_up: | | [d2q9_kuper](https://app.codecov.io/gh/CFD-GO/TCLB/pull/443/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=CFD-GO) | `27.52% <73.33%> (+0.15%)` | :arrow_up: | | [d3q27_PSM_NEBB](https://app.codecov.io/gh/CFD-GO/TCLB/pull/443/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=CFD-GO) | `35.72% <86.66%> (+0.12%)` | :arrow_up: | | [d3q27_pf_velocity](https://app.codecov.io/gh/CFD-GO/TCLB/pull/443/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=CFD-GO) | `30.47% <82.35%> (+0.15%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=CFD-GO#carryforward-flags-in-the-pull-request-comment) to find out more. | [Files Changed](https://app.codecov.io/gh/CFD-GO/TCLB/pull/443?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=CFD-GO) | Coverage Δ | | |---|---|---| | [src/LatticeContainer.h.Rt](https://app.codecov.io/gh/CFD-GO/TCLB/pull/443?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=CFD-GO#diff-c3JjL0xhdHRpY2VDb250YWluZXIuaC5SdA==) | `83.33% <ø> (ø)` | | | [src/LatticeContainer.inc.cpp.Rt](https://app.codecov.io/gh/CFD-GO/TCLB/pull/443?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=CFD-GO#diff-c3JjL0xhdHRpY2VDb250YWluZXIuaW5jLmNwcC5SdA==) | `58.38% <0.00%> (ø)` | | | [src/Lattice.cu.Rt](https://app.codecov.io/gh/CFD-GO/TCLB/pull/443?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=CFD-GO#diff-c3JjL0xhdHRpY2UuY3UuUnQ=) | `46.38% <50.00%> (+0.09%)` | :arrow_up: | | [src/cross.h](https://app.codecov.io/gh/CFD-GO/TCLB/pull/443?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=CFD-GO#diff-c3JjL2Nyb3NzLmg=) | `94.73% <100.00%> (+24.73%)` | :arrow_up: | ... and [3 files with indirect coverage changes](https://app.codecov.io/gh/CFD-GO/TCLB/pull/443/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=CFD-GO)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.