-
-
Notifications
You must be signed in to change notification settings - Fork 863
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
Static link CUDA Runtime #7954
Merged
Merged
Static link CUDA Runtime #7954
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit
Hold shift click to select a range
c3b276c
implement runtime._getCUDAMajorVersion()
kmaehashi 0922be2
remove or replace runtime.runtimeGetVersion()
kmaehashi 9669e60
fix unused import
kmaehashi 4055338
static link CUDA Runtime
kmaehashi 75465c8
merge profiler module to runtime
kmaehashi 3d29eb4
remove use of profiler module
kmaehashi 4cd14a6
update profile module for backward compatibility
kmaehashi 7b4cece
update docs
kmaehashi 1629883
static link CUDA Runtime in Jitify, cuRAND, Thrust
kmaehashi 841af9e
lazy import Jitify
kmaehashi 7328623
flake8
kmaehashi 385fce3
fix libraries list
kmaehashi 96e37c4
fix HIP translation
kmaehashi ca5adb8
fix jitify import
kmaehashi e89e35a
check CUDA header version in cupyx.jit
kmaehashi 3220581
fix mock
kmaehashi c6122f5
Merge remote-tracking branch 'upstream/main' into static-link-cudart
kmaehashi 841eff7
implement `cupy.cuda.get_local_runtime_version()`
kmaehashi c693e7a
update tests
kmaehashi 7a4a4bb
Revert "check CUDA header version in cupyx.jit"
kmaehashi e3f5873
use _getLocalRuntimeVersion instead
kmaehashi c9f5090
add docs
kmaehashi 3b7b901
fix docs
kmaehashi 1f8f7a0
avoid using getLocalRuntimeVersion from CUDA Python
kmaehashi aecccf6
use softlink for runtime regardless of CUDA Python mode
kmaehashi 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
static link CUDA Runtime
- Loading branch information
commit 405533801e070119b2d6480a8a0b1a920d034b40
There are no files selected for viewing
This file contains 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
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.
Q: Would this make the CUDA Python build also link to cudart statically?
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.
I believe the linker is clever enough to avoid linking static libs if symbols are unused 😄
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.
Yes I was asking a silly question. CUDA Python does not use any cudart symbols, and indeed the linker would do nothing.