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

Switch to use CUDA driver APIs in `Device` constructor

Open leofang opened this issue 11 months ago • 3 comments

~~Blocked by #459 & https://github.com/NVIDIA/cuda-python/issues/439#issuecomment-2673234572.~~

Before this PR:

In [7]: %timeit Device()
622 ns ± 1.17 ns per loop (mean ± std. dev. of 7 runs, 1,000,000 loops each)

With this PR:

In [20]: %timeit Device()
391 ns ± 1.86 ns per loop (mean ± std. dev. of 7 runs, 1,000,000 loops each)

(Bindings are built from the main branch.)

leofang avatar Feb 21 '25 20:02 leofang

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 Feb 21 '25 20:02 copy-pr-bot[bot]

/ok to test

leofang avatar Apr 06 '25 21:04 leofang

Doc Preview CI :---: |

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

|

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

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

/ok to test c9fac0b

leofang avatar May 24 '25 02:05 leofang

This is ready.

leofang avatar May 28 '25 22:05 leofang

/ok to test d70ec240

leofang avatar Jun 06 '25 15:06 leofang

/ok to test d279e50

leofang avatar Jun 06 '25 17:06 leofang

Blocked by #687.

leofang avatar Jun 07 '25 00:06 leofang

/ok to test 708fd70f

leofang avatar Jun 07 '25 02:06 leofang

/ok to test 4015f9c8

leofang avatar Jun 07 '25 02:06 leofang

Thanks, Ralf/Keith!

leofang avatar Jun 07 '25 02:06 leofang

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

github-actions[bot] avatar Jun 07 '25 03:06 github-actions[bot]