Skip to content

Fix shared_error race in validation kernels#14

Open
SRO-SA wants to merge 1 commit into
masterfrom
fix/issue-1-shared-error-race
Open

Fix shared_error race in validation kernels#14
SRO-SA wants to merge 1 commit into
masterfrom
fix/issue-1-shared-error-race

Conversation

@SRO-SA

@SRO-SA SRO-SA commented Jun 24, 2026

Copy link
Copy Markdown
Collaborator

Fixes #1

Summary:

  • Replaces non-atomic shared_error updates with atomicOr in validate_expand_MathAPI_new2.
  • Replaces non-atomic shared_error updates with atomicOr in validate_expand.
  • Keeps the existing validation logic unchanged while removing shared-memory read-modify-write races.

Testing:

  • I could not run compute-sanitizer racecheck locally because my laptop does not have CUDA access.
  • I reviewed the affected kernel updates manually.
  • Please rerun the racecheck reproducer from the issue to confirm the shared-memory race is resolved.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Data race on shared_error in validate_expand_MathAPI_new2 / validate_expand

1 participant