Skip to content

Conversation

@multitalentloes
Copy link
Member

Make blackoilconvectivemixing module and newtranfluxmodule gpu-compatible.
This includes extracting the moduleparams struct so that it can be templated more easily with gpubuffers, other stuff is mostly just adding the function decorators for cuda/hip to make the functions accessible during gpu execution.

Depends on OPM/opm-common#4865

This pr is based on extracting some of the changes in #6612 to make the review less noisy

@multitalentloes multitalentloes added the manual:irrelevant This PR is a minor fix and should not appear in the manual label Dec 11, 2025
const IntensiveQuantities& intQuantsEx,
const unsigned phaseIdx,
const ConvectiveMixingModuleParam& info) {
FluidSystem fsys = intQuantsIn.getFluidSystem();
Copy link
Member

Choose a reason for hiding this comment

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

cheap to copy? also const?

Copy link
Member Author

Choose a reason for hiding this comment

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

I'll add const refs, thanks

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

Labels

manual:irrelevant This PR is a minor fix and should not appear in the manual

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants