[MISC] Constraint solver func init optimization#2521
Draft
erizmr wants to merge 5 commits intoGenesis-Embodied-AI:mainfrom
Draft
[MISC] Constraint solver func init optimization#2521erizmr wants to merge 5 commits intoGenesis-Embodied-AI:mainfrom
erizmr wants to merge 5 commits intoGenesis-Embodied-AI:mainfrom
Conversation
7 tasks
Convert func_solve_init from a plain @qd.kernel to a @qd.perf_dispatch, and register func_solve_init_decomposed for CUDA backend. This breaks the monolithic init into 8 separate kernel launches: 1. _kernel_init_warmstart (warmstart selection, ndrange dofs) 2. _kernel_init_Ma (Ma = M @ qacc, ndrange dofs) 3. _kernel_init_Jaref (Jaref = -aref + J @ qacc, ndrange constraints) 4. _kernel_init_improved (set improved flags) 5. _kernel_init_update_constraint (wraps monolith for FP match) 6. Newton hessian (conditional, reuses existing kernel) 7. _kernel_init_update_gradient (wraps monolith tiled gradient) 8. _kernel_init_search (search = -Mgrad, ndrange dofs) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
961f9c3 to
8ae30ab
Compare
duburcqa
previously approved these changes
Mar 12, 2026
Collaborator
|
this is missing benchmark comparison right? |
Waiting for more information about the performance benchmark.
|
🔴 Benchmark Regression Detected ➡️ Report |
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.
Description
Related Issue
Resolves Genesis-Embodied-AI/Genesis#
Motivation and Context
How Has This Been / Can This Be Tested?
Screenshots (if appropriate):
Checklist:
Submitting Code Changessection of CONTRIBUTING document.