NVIDIA / NVIDIA/cuda-python

Ensure an insufficient driver version would raise an exception in `cuda.bindings` tests

Open
#728 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug cuda.bindings P2 test
Dominant language
Cython
Stars
3.4k
Forks
329
Avg merge
1d 23h
Merged PRs (30d)
116

Description

In a separate PR we could turn this into a pytest fixture that

  1. Run the test if the driver version is sufficient
  2. Otherwise, ensure an exception is raised

Originally posted by @leofang in https://github.com/NVIDIA/cuda-python/pull/724#discussion_r2165074624

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the cuda.bindings tests and inspect how driver-version requirements are handled. Use the proposed pytest fixture as the entry point, then verify both sufficient-driver execution and the insufficient-driver exception path.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.