Skip to content

/gpu/*/gen: Add support for diagonal assembly with user-strided restrictions - #2138

Open
zatkins-dev wants to merge 3 commits into
mainfrom
zach/cuda-gen-at-points-strided-assembly
Open

zatkins-dev wants to merge 3 commits into
mainfrom
zach/cuda-gen-at-points-strided-assembly

Conversation

@zatkins-dev

Copy link
Copy Markdown
Collaborator

Purpose:

We currently assume that any diagonal assembly is done on CEED_RESTRICTION_STANDARD, leading to crashes/UB if strided output restrictions are provided.

This PR adds support for strided restrictions, and explicitly fails on unsupported restriction types (fallback to ref).

LLM/GenAI Disclosure:

None.

@jeremylt

jeremylt commented Dec 4, 2026

Copy link
Copy Markdown
Member

do we have a test that can check this?

@zatkins-dev

Copy link
Copy Markdown
Collaborator Author

Not yet apparently. I can make one (probably not til next week, I'm in the middle of something else)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants