Skip to content

Fix/add checking runtime call - #3123

Open
kszenes wants to merge 1 commit into
PennyLaneAI:shuli/backline-memcopyfrom
kszenes:fix/add-checking-runtime-call
Open

Fix/add checking runtime call#3123
kszenes wants to merge 1 commit into
PennyLaneAI:shuli/backline-memcopyfrom
kszenes:fix/add-checking-runtime-call

Conversation

@kszenes

@kszenes kszenes commented Aug 16, 2026

Copy link
Copy Markdown

Adds checks for failed runtime_calls.
This includes checks against nullptr and the returned status code.

Before submitting

Please complete the following checklist when submitting a PR:

  • All new functions and code must be clearly commented and documented.

  • Ensure that code is properly formatted by running make format.
    The latest version of black and clang-format-20 are used in CI/CD to check formatting.

  • All new features must include a unit test.
    Integration and frontend tests should be added to frontend/test,
    Quantum dialect and MLIR tests should be added to mlir/test, and
    Runtime tests should be added to runtime/tests.

When all the above are checked, delete everything above the dashed
line and fill in the pull request template.


Context:

Description of the Change:

Benefits:

Possible Drawbacks:

Related GitHub Issues:

@github-actions github-actions Bot added the external PRs where the author is not a part of PennyLane Org (or part of external contributors team) label Aug 16, 2026
@kszenes
kszenes requested a review from rniczh August 16, 2026 01:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backline external PRs where the author is not a part of PennyLane Org (or part of external contributors team)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant