Repository navigation
fix(samples): waive glInteropMipmapLod when the pyglet window cannot open - #3087
Conversation
…open Match glInteropFluid and glInteropPlasma so a failure to open the pyglet window is a sample waiver.
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
📝 Summary
Priority: ⬇️ Low Change: Bug fix Merge Risk: ⚪ Minimal · up to
|
There was a problem hiding this comment.
Actionable comments posted: 1
ℹ️ Review info
⚙️ Run configuration
- Configuration used: Repository: NVIDIA/cuda-python/.coderabbit.yaml
- Review profile: CHILL
- Plan: Enterprise
- Run ID:
5463d950-20af-4f70-a436-6b4c18b51734
📒 Files selected for processing (1)
samples/cuda_core/glInteropMipmapLod/glInteropMipmapLod.py
Included review availability: This review used your included allowance. Your plan provides up to 12 included reviews per hour; 11 remain after this review.
|
|
The PR needs an additional label "bug" to get CI label check passed, which I just added. |
Description
This is to fix internal bug 6919159.
glInteropMipmapLodfails on headless Windows when pyglet can import OpenGL butWindow()raisesMissingFunctionExceptionbecauseglCreateShaderis not exported.glInteropFluidandglInteropPlasmaalready waive that failure. This sample now does the same: ifcreate_window()raises, it exits with the negotiated waiver code.