Uh oh!
There was an error while loading. Please reload this page.
[FEA] Add from_handle() methods for Kernel. - #1413
Merged
Merged
Conversation
Contributor
rparolin
commented
Dec 19, 2025
CollaboratorAuthor
/ok to test 30dfcdc |
rparolin
marked this pull request as ready for review
December 19, 2025 22:27
rparolin
commented
Dec 19, 2025
CollaboratorAuthor
/ok to test 47ad63e |
This comment has been minimized.
This comment has been minimized.
leofang
requested changes
Dec 20, 2025
Uh oh!
There was an error while loading. Please reload this page.
rparolin
commented
Jan 12, 2026
CollaboratorAuthor
/ok to test de17dc8 |
leofang
requested changes
Jan 13, 2026
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
rparolin
commented
Jan 13, 2026
CollaboratorAuthor
/ok to test 5f01231 |
rparolin
enabled auto-merge (squash)
January 13, 2026 20:43
rparolin
commented
Jan 13, 2026
CollaboratorAuthor
/ok to test c9cca32 |
leofang
approved these changes
Jan 14, 2026
Uh oh!
There was an error while loading. Please reload this page.
|
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
Sign up for freeto 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.
Fixes#192
This PR implements from_handle() static methods for Kernel classes enabling interoperability with foreign CUDA handles.
✨ Key Changes
2.1. Added thread-safe lazy initialization using double-checked locking pattern
2.2. Refactored global state access through helper functions that ensure initialization