Conversation
- Drop validateOnly param from bindExternalDevice and unbindExternalDevice across device base and subclasses - Remove VALIDATE_ONLY constants from HIP GL and OpenCL interop callers - Simplify conditional error logging in PAL device
- Move wglBeginCLInteropAMD/wglEndCLInteropAMD out of glAssociate/glDissociate into new beginGLInterop/endGLInterop device virtual methods with PAL and ROCm overrides - Add Context-level interop tracking with HGLRC change handling, called from hipGLGetDevices and ~Context - Remove unbindExternalDevice from ~Context; call beginGLInterop after bindExternalDevice in create
- Remove beginGLInterop/endGLInterop from Device and all subclasses - Add beginCLInterop/endCLInterop to GLFunctions with lazy function pointer loading via GetProcAddress_ - Update Context to route interop calls through glenv_ Made-with: Cursor
- Consolidate GL interop function typedefs and loading from PAL/ROCm device backends into platform/interop_gl - Replace direct function pointer calls with GLFunctions static accessors across PAL and ROCm GL interop code - Remove duplicated initGLInteropPrivateExt implementations Made-with: Cursor
- Move AMD interop symbol resolution into GLFunctions constructor, reusing its library handle and GetProcAddress - Remove standalone initAMDInterop static method and its redundant GL library loading - Hoist GLFunctions creation earlier in Context::create to cover all GL interop paths
- PAL/ROCm bindExternalDevice now logs glAssociate misses at info - Avoids false-positive errors during GL interop enumeration paths
❌ PR Check — Action Required
📖 Need help? See the Policy FAQ for details on every check and how to fix failures. |
|
🚫 Please fix the failed policies before requesting reviews. The following policy checks failed:
The |
Contributor
Author
|
Superseded by #8421 (branch renamed to comply with naming policy). |
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 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.
Motivation
Technical Details
JIRA ID
Test Plan
Test Result
Submission Checklist