-
Notifications
You must be signed in to change notification settings - Fork 114
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
GPU PiecewiseLinearTwoPhaseMaterialParams maintenance and bugfix #4403
GPU PiecewiseLinearTwoPhaseMaterialParams maintenance and bugfix #4403
Conversation
Jenkins build this please |
Finalization is adjusted to avoid the cpu accessing values from gpumemory, in particular a mutable buffer.
Jenkins build this please |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just some nitpicking comments.
opm/material/fluidmatrixinteractions/PiecewiseLinearTwoPhaseMaterialParams.hpp
Outdated
Show resolved
Hide resolved
opm/material/fluidmatrixinteractions/PiecewiseLinearTwoPhaseMaterialParams.hpp
Outdated
Show resolved
Hide resolved
5a217b2
to
ea29426
Compare
jenkins build this opm-simulators=5838 please |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks fine to me. I await approval from @bska before merging.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My concerns have been fully addressed. This looks good to me.
Jenkins build this please |
jenkins build this opm-simulators=5838 please |
next time, you should not merge anything with commit messages like 'WIP'. |
Finalization is adjusted to avoid the cpu accessing values from gpumemory, in particular, a mutable buffer. Avoiding the finalization for the GPU instances is less robust, solutions to this are welcome.
move_to_gpu is added to
PiecewiseLinearTwoPhaseMaterialParams
to make managament of GPU instances easier, and design more consistent with other classes.