Skip to content

Optix coopvec matmul#8489

Merged
szihs merged 8 commits intomasterfrom
optix_coopvec_matmul
Oct 31, 2025
Merged

Optix coopvec matmul#8489
szihs merged 8 commits intomasterfrom
optix_coopvec_matmul

Conversation

@szihs
Copy link
Copy Markdown
Collaborator

@szihs szihs commented Sep 19, 2025

Fix #7404

@szihs szihs added the pr: non-breaking PRs without breaking changes label Sep 19, 2025
@szihs
Copy link
Copy Markdown
Collaborator Author

szihs commented Sep 19, 2025

/format

@slangbot
Copy link
Copy Markdown
Contributor

🌈 Formatted, please merge the changes from this PR

szihs pushed a commit that referenced this pull request Sep 19, 2025
Automated code formatting for
#8489

Co-authored-by: slangbot <186143334+slangbot@users.noreply.github.com>
@szihs szihs force-pushed the optix_coopvec_matmul branch from 2407a47 to c8c4e13 Compare September 22, 2025 09:05
@szihs
Copy link
Copy Markdown
Collaborator Author

szihs commented Sep 22, 2025

/format

@slangbot
Copy link
Copy Markdown
Contributor

🌈 Formatted, please merge the changes from this PR

szihs pushed a commit that referenced this pull request Sep 22, 2025
Automated code formatting for
#8489

Co-authored-by: slangbot <186143334+slangbot@users.noreply.github.com>
@szihs szihs marked this pull request as ready for review September 22, 2025 09:39
@szihs szihs requested a review from a team as a code owner September 22, 2025 09:39
szihs pushed a commit that referenced this pull request Sep 22, 2025
Automated code formatting for
#8489

Co-authored-by: slangbot <186143334+slangbot@users.noreply.github.com>
@szihs szihs force-pushed the optix_coopvec_matmul branch from 81e6861 to 14fca92 Compare September 22, 2025 10:26
@szihs szihs requested a review from csyonghe September 22, 2025 10:27
@szihs
Copy link
Copy Markdown
Collaborator Author

szihs commented Sep 22, 2025

/format

@slangbot
Copy link
Copy Markdown
Contributor

🌈 Formatted, please merge the changes from this PR

szihs pushed a commit that referenced this pull request Sep 22, 2025
Automated code formatting for
#8489

Co-authored-by: slangbot <186143334+slangbot@users.noreply.github.com>
@szihs szihs linked an issue Sep 22, 2025 that may be closed by this pull request
@szihs
Copy link
Copy Markdown
Collaborator Author

szihs commented Sep 22, 2025

@mkeshavaNV can you review this

Copy link
Copy Markdown
Collaborator

@jkwak-work jkwak-work left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you have a github issue number for this?
Can you mention that in the PR description?

@szihs szihs force-pushed the optix_coopvec_matmul branch from d2b4613 to 78cae5e Compare September 23, 2025 08:29
szihs pushed a commit that referenced this pull request Sep 23, 2025
Automated code formatting for
#8489

Co-authored-by: slangbot <186143334+slangbot@users.noreply.github.com>
szihs pushed a commit that referenced this pull request Sep 23, 2025
Automated code formatting for
#8489

Co-authored-by: slangbot <186143334+slangbot@users.noreply.github.com>
szihs added a commit that referenced this pull request Sep 23, 2025
 - Add template metaprogramming in prelude for dynamic enum-to-hex conversion
 - Create SlangToOptixComponentType and SlangToOptixMatrixLayout template specializations
 - Add OptixCoopVecTraits for automatic vector dimension extraction
 - Support both with-bias and without-bias OptiX SDK function variants
 - Fix static assertion placement for multi-capability requirements
 - Add comprehensive test coverage for StructuredBuffer and ByteAddressBuffer variants
 - Update CHECK patterns to match new slangOptixCoopVecMatMul wrapper calls

Fixes

Format code for PR #8489 (#8505)

Automated code formatting for
#8489

Co-authored-by: slangbot <186143334+slangbot@users.noreply.github.com>

Format code for PR #8489 (#8507)

Automated code formatting for
#8489

Co-authored-by: slangbot <186143334+slangbot@users.noreply.github.com>

Improve optix-coopvec test patterns to validate actual function calls with arguments

Strengthen matmul CHECK pattern to validate function call structure and arguments

move static_assert before OptiX parameter transformations to ensure proper constant eval
@szihs szihs force-pushed the optix_coopvec_matmul branch 2 times, most recently from 6558b7e to 27df82f Compare September 23, 2025 13:54
Copy link
Copy Markdown
Collaborator

@jkwak-work jkwak-work left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I left a few comments.

@szihs szihs requested a review from jkwak-work October 8, 2025 08:27
@szihs
Copy link
Copy Markdown
Collaborator Author

szihs commented Oct 8, 2025

I left a few comments.

Updated commit and replied on the query.

@szihs szihs force-pushed the optix_coopvec_matmul branch from de3967b to 53c8716 Compare October 14, 2025 08:28
@szihs
Copy link
Copy Markdown
Collaborator Author

szihs commented Oct 14, 2025

/format

@slangbot
Copy link
Copy Markdown
Contributor

🌈 Formatted, please merge the changes from this PR

Automated code formatting for
#8489

Co-authored-by: slangbot <186143334+slangbot@users.noreply.github.com>
@szihs
Copy link
Copy Markdown
Collaborator Author

szihs commented Oct 14, 2025

ping @jkwak-work for review

Copy link
Copy Markdown
Collaborator

@jkwak-work jkwak-work left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks way better now, but I think the code should be relocated to slang-emit-cuda.cpp

@szihs szihs requested a review from jkwak-work October 15, 2025 12:35
@szihs
Copy link
Copy Markdown
Collaborator Author

szihs commented Oct 15, 2025

@jkwak-work - updated code for review.

@szihs
Copy link
Copy Markdown
Collaborator Author

szihs commented Oct 16, 2025

/format

@slangbot
Copy link
Copy Markdown
Contributor

🌈 Formatted, please merge the changes from this PR

Automated code formatting for
#8489

Co-authored-by: slangbot <186143334+slangbot@users.noreply.github.com>
Copy link
Copy Markdown
Collaborator

@jkwak-work jkwak-work left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good finally.

@szihs szihs added this pull request to the merge queue Oct 31, 2025
Merged via the queue into master with commit 443a9b7 Oct 31, 2025
37 checks passed
jvepsalainen-nv pushed a commit to jvepsalainen-nv/slang that referenced this pull request Nov 4, 2025
Fix shader-slang#7404

---------

Co-authored-by: slangbot <186143334+slangbot@users.noreply.github.com>
Co-authored-by: slangbot <ellieh+slangbot@nvidia.com>
juliusikkala pushed a commit to juliusikkala/slang that referenced this pull request Nov 12, 2025
Fix shader-slang#7404

---------

Co-authored-by: slangbot <186143334+slangbot@users.noreply.github.com>
Co-authored-by: slangbot <ellieh+slangbot@nvidia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: non-breaking PRs without breaking changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Optix] Optix coopvec intrinsics not tested Add support for optixCoopVecMatMul optix: Fix coopvec emission

3 participants