Skip to content

Fix unit test#823

Merged
Binyang2014 merged 3 commits into
mainfrom
binyli/ut-fix
Jun 25, 2026
Merged

Fix unit test#823
Binyang2014 merged 3 commits into
mainfrom
binyli/ut-fix

Conversation

@Binyang2014

@Binyang2014 Binyang2014 commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Fix unit test failure.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes a unit test failure by clearing CUDA’s per-thread “last error” state after a failed cudaIpcGetMemHandle attempt, allowing the subsequent VMM-based fallback path to proceed without being affected by a stale runtime error.

Changes:

  • Clear CUDA’s last error (cudaGetLastError()) when runtime IPC handle creation fails.
  • Add an explanatory comment documenting why clearing the last error is required before the fallback path.

@Binyang2014 Binyang2014 changed the title Unit test fix Fix unit test Jun 25, 2026
Comment thread .azure-pipelines/templates/ut.yml
@Binyang2014 Binyang2014 merged commit 9c6b283 into main Jun 25, 2026
18 of 31 checks passed
@Binyang2014 Binyang2014 deleted the binyli/ut-fix branch June 25, 2026 23:03
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.

3 participants