-
Notifications
You must be signed in to change notification settings - Fork 90
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
TimeHistory
cannot output scalar information
#2289
Comments
With the current implementation, we end up in the function https://github.com/GEOSX/GEOSX/blob/develop/src/coreComponents/dataRepository/BufferOpsDevice.hpp#L154-L163 On a CPU target (non GPU), implementing a quick and dirty packing function makes the This open some questions about the packing: is it legit to impose the |
I a not quite understanding why scalar information can't be memcopied from gpu to cpu. |
Scalar data doesn't live in the GPU memory space in the first place, because there is no good reason to bring it there. It's only ever updated on the host, and if a read-only value is needed in a kernel it is much more efficiently passed via kernel arguments (e.g. embedded in the closure object passed to RAJA). We should just ignore the |
WIP #2369. This PR should resolve any scalar packing where the scalar resides on host using the legacy packing functions. |
knock knock |
who is there? |
We'd like to output quantities like mean pressure in a reservoir, or the number of iterations in the loops.
Those are scalar quantities which are currently not supported.
This is a tool which would bring a lot of value to GEOSX's users.
Three examples can be used:
For this one,
RegionStatistics
surely needs to be adapted.The text was updated successfully, but these errors were encountered: