Skip to content

Add minimum driver version check to allow minor version compatibility.#3648

Merged
christophe-murphy merged 2 commits into
masterfrom
allow_minor_ver_compat
Apr 4, 2025
Merged

Add minimum driver version check to allow minor version compatibility.#3648
christophe-murphy merged 2 commits into
masterfrom
allow_minor_ver_compat

Conversation

@christophe-murphy
Copy link
Copy Markdown
Contributor

Description

Previously, the only check performed was to compare the runtime version that the code was compiled with to the cuda version corresponding to the driver. This means that there was no minor version compatibility check. The error message given was also incorrect since it printed out the minimum driver required for minor version compatibility.

Changes to Users

The actual driver version is now also checked against the minimum required version to allow minor version compatibility.

Checklist

  • Rebased on latest master
  • Code compiles
  • Tests pass

@christophe-murphy christophe-murphy added this to the 3.10 milestone Mar 27, 2025
syurkevi
syurkevi previously approved these changes Mar 28, 2025
@christophe-murphy christophe-murphy merged commit 5979134 into master Apr 4, 2025
willyborn pushed a commit to willyborn/arrayfire that referenced this pull request Jun 4, 2025
arrayfire#3648)

* Add minimum driver version check to allow minor version compatibility.

* Simpler method of checking for nvidia driver cuda minor version compatibility.
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