-
Notifications
You must be signed in to change notification settings - Fork 130
POC GPU Assembly #6612
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
Draft
multitalentloes
wants to merge
88
commits into
OPM:master
Choose a base branch
from
multitalentloes:start_porting_assembly_to_gpu
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
POC GPU Assembly #6612
multitalentloes
wants to merge
88
commits into
OPM:master
from
multitalentloes:start_porting_assembly_to_gpu
+3,325
−660
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
have to amend the GpuBuffer class because the vector<bool> a few functions depend on does not support the .data() member function due to how it stores the data.
Realized that preprocessor statements were too strict. Have now created a separate implementation file that we can link against instead.
Figured out that mew structure was bad created standalone executable to get gpu compiler to see content of tpfalinearizer
no longer needed as gpubuffer is header-only
1c3c202 to
1f483ec
Compare
Member
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
NOT intended for merging.
This PR shows current a POC for having the matrix assemble happen on the GPU. Many shortcuts and simplifications have been made, and very little effort has been spent on writing high-quality code. Performance results will be shared later when all the required elements for a proper SPE11C simulation case has been implemented and some effort has been spent into optimizing it. Currently I have a separate executable that will always use GPU assembly.
I will create separate PRs for subsets of files and get it merged partially over time.