[Stdlib] Fix llvm.masked.scatter CUDA_ERROR_ILLEGAL_ADDRESS in shared memory by hardikkgupta · Pull Request #6351 · modular/modular

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@hardikkgupta

Copy link Copy Markdown

Contributor

@hardikkgupta hardikkgupta commented

Apr 5, 2026

edited

Loading

Fixes #5366

Summary

Add a GPU fallback for the scatter function in std/sys/intrinsics.mojo that performs element-wise stores

Testing

  • Validated that the fallback logic mirrors the existing gather GPU fallback pattern

@hardikkgupta hardikkgupta requested a review from a team as a code owner

April 5, 2026 05:12

@github-actions github-actions bot added mojo-stdlib

Tag for issues related to standard library

waiting-on-review labels

Apr 5, 2026

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

Reviewers

No reviews

Assignees

No one assigned

Labels

mojo-stdlib

Tag for issues related to standard library

waiting-on-review

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

[BUG] [stdlib] llvm.masked.scatter causes CUDA_ERROR_ILLEGAL_ADDRESS in shared memory

1 participant

@hardikkgupta