-
Notifications
You must be signed in to change notification settings - Fork 127
build and test against CUDA 13.1.0 #747
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
Merged
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
ad1a1a8
build and test against CUDA 13.1.0
jameslamb 175d1fb
Merge branch 'main' into cuda13.1.0-workflows
jakirkham 12415ac
Update build.yaml
rgsl888prabhu 1adcd23
Update pr.yaml
rgsl888prabhu 497a114
Update test.yaml
rgsl888prabhu 5d8893c
Update trigger-breaking-change-alert.yaml
rgsl888prabhu 4356fe0
Update dependencies.yaml
rgsl888prabhu 4fd715f
fix style
rgsl888prabhu 7ead639
fix run time versino
rgsl888prabhu c2c614f
update
rgsl888prabhu c4e79e4
fix
rgsl888prabhu 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
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
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.
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.
🧩 Analysis chain
🏁 Script executed:
Repository: NVIDIA/cuopt
Length of output: 84
🏁 Script executed:
cat -n cpp/src/utilities/driver_helpers.cuh | head -40Repository: NVIDIA/cuopt
Length of output: 1312
🏁 Script executed:
rg -nP --type=cpp --type=cuda 'nullptr' cpp/src/utilities/ -A 2 -B 2Repository: NVIDIA/cuopt
Length of output: 84
🏁 Script executed:
Repository: NVIDIA/cuopt
Length of output: 38
🏁 Script executed:
rg -l 'driver_helpers.cuh' --type=cppRepository: NVIDIA/cuopt
Length of output: 38
🏁 Script executed:
Repository: NVIDIA/cuopt
Length of output: 96
🏁 Script executed:
rg -nP 'get_driver_entry_point' cpp/src/dual_simplex/sparse_cholesky.cuh -C5Repository: NVIDIA/cuopt
Length of output: 4328
🏁 Script executed:
Repository: NVIDIA/cuopt
Length of output: 226
🏁 Script executed:
rg -nP 'CU_CHECK|CUDA_CHECK|auto.*get_driver_entry_point' cpp/src/dual_simplex/sparse_cholesky.cuh -B 2 -A 2Repository: NVIDIA/cuopt
Length of output: 2660
🏁 Script executed:
rg -nP 'void.*function_name|auto.*function_name|CUdevResource.*function|void setup_green_context|solve\(' cpp/src/dual_simplex/sparse_cholesky.cuh -B 5 -A 15Repository: NVIDIA/cuopt
Length of output: 3025
🏁 Script executed:
sed -n '150,175p' cpp/src/dual_simplex/sparse_cholesky.cuhRepository: NVIDIA/cuopt
Length of output: 1266
🏁 Script executed:
sed -n '155,170p' cpp/src/dual_simplex/sparse_cholesky.cuhRepository: NVIDIA/cuopt
Length of output: 879
Add nullptr checks before dereferencing function pointers returned by get_driver_entry_point.
The function returns
nullptron symbol lookup failure, but call sites insparse_cholesky.cuh(lines 159, 163, 182, 204, 227, 235, 367, 370) immediately cast and call the returned pointer without validation. Ifget_driver_entry_pointreturnsnullptr, the code will dereference a null function pointer, causing undefined behavior. Callers must check the return value and propagate errors appropriately:This is required by the coding guideline: error propagation from CUDA to user-facing APIs must be complete, and the
solve()method must communicate failures rather than crashing silently.