cuda-python icon indicating copy to clipboard operation
cuda-python copied to clipboard

NEW: Make event timing error messages more specific and actionable

Open carterbox opened this issue 9 months ago • 6 comments

Description

closes #556

The CUDA driver provides different error messages for various errors when trying to compute elapsed time, and the documentation explains each of these scenarious. Surface each of these to Python uses with actionable error messages.

Checklist

  • [x] New or existing tests cover these changes.
  • [ ] The documentation is up to date with these changes.

* Not sure what documentation should be added. Sometimes python functions document what errors are raised, but sub doesn't have a docs section.

carterbox avatar Apr 14 '25 23:04 carterbox

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

copy-pr-bot[bot] avatar Apr 14 '25 23:04 copy-pr-bot[bot]

/ok to test 8782dfadb0f1a04f135ca21cab9ae3602ebd59bb

carterbox avatar Apr 14 '25 23:04 carterbox

/ok to test 8782dfadb0f1a04f135ca21cab9ae3602ebd59bb

kkraus14 avatar Apr 15 '25 01:04 kkraus14

Doc Preview CI :---: |

:rocket: View preview at
https://nvidia.github.io/cuda-python/pr-preview/pr-559/
|
https://nvidia.github.io/cuda-python/pr-preview/pr-559/cuda-core/
|
https://nvidia.github.io/cuda-python/pr-preview/pr-559/cuda-bindings/

|

Preview will be ready when the GitHub Pages deployment is complete.

github-actions[bot] avatar Apr 15 '25 01:04 github-actions[bot]

I think we are set up so that the CI will never trigger automatically. Only of you leave the ok to test comment. Certainly in draft mode.

rwgk avatar Apr 15 '25 21:04 rwgk

/ok to test 99218bb9a7d53bbe3ff2d0f0d1cc97e0547bcfd8

carterbox avatar Apr 15 '25 21:04 carterbox

/ok to test add0ba1

leofang avatar Apr 27 '25 02:04 leofang

/ok to test 638990d

leofang avatar Apr 27 '25 03:04 leofang

/ok to test 9904f3d

leofang avatar Apr 27 '25 03:04 leofang

Thanks for nice improvements, Daniel!

leofang avatar Apr 27 '25 04:04 leofang

Doc Preview CI :---: Preview removed because the pull request was closed or merged.

github-actions[bot] avatar Apr 27 '25 04:04 github-actions[bot]