-
Notifications
You must be signed in to change notification settings - Fork 73
cuda-gen: Add CUDA Graph capture and replay for composite operators #1987
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
Open
Nafees01
wants to merge
18
commits into
CEED:main
Choose a base branch
from
Nafees01:cuda-graph-dev
base: main
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.
Open
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
6261385
CUDA graph implemented
Nafees01 b156a00
Implement CUDA graphs with fallback system in libCEED
Nafees01 83c1d9f
Cleaner and Simplified Implementation of CUDA graph
Nafees01 bbad4e2
add vector pointer tracking to detect memory changes in Graph
Nafees01 285b661
Add PETSc vector setup for CUDA Graph compatibility in CUDA-gen backend
Nafees01 10d6dd2
Clean CUDA-graph implementation
Nafees01 4abc7ad
Simple and clean implementation of CUDA graph but numerically incorrect
Nafees01 1fa80ed
per-operator CUDA Graph implementation
Nafees01 5b8e14f
replace cudaMemset with cudaMemsetAsync
Nafees01 94bdeca
Auto-detect graph capture and use async memset with cudaStreamPerThread
Nafees01 a00af53
CUDA Graph support for composite operators in cuda-gen backend
Nafees01 1ca2b5f
CUDA Graph is working fine for composite operators
Nafees01 719027b
cuda-gen: CUDA Graph capture and replay working for composite operators
Nafees01 40f8c3e
Merge remote-tracking branch 'upstream/main' into cuda-graph-dev
Nafees01 91c8d6d
style: apply clang-format-22
Nafees01 1249673
cuda-gen: address review feedback for composite CUDA graphs
Nafees01 c7c5b1a
cuda: add CeedOperatorSetEnableCudaGraph and address review feedback
Nafees01 8f160e9
cuda: add docs for when graph/CUfunction setters aren't supported
Nafees01 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
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
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.