Skip to content

Update CUDA driver version checks #3161

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jul 29, 2021
Merged

Conversation

umar456
Copy link
Member

@umar456 umar456 commented Jul 26, 2021

Update CUDA driver version information for CUDA 11.4

Description

  • Add minimum driver version checks for 11.4
  • Minor namespace refactoring in platform

Changes to Users

None

Checklist

  • Rebased on latest master
  • Code compiles
  • Tests pass
  • [ ] Functions added to unified API
  • [ ] Functions documented

Copy link
Member

@9prady9 9prady9 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's keep the driver version commit specific that itself. Please move the cleanup changes in that commit to the other commit which already has lot of cleanup and code movement.

Otherwise, looks good.

I am looking into the vcpkg failure, it is not related to this change.

@@ -133,6 +133,41 @@ static const ToolkitDriverVersions
{7000, 346.46f, 347.62f}};
// clang-format on

static inline int getMinSupportedCompute(int cudaMajorVer) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please move this function movement changes into cleanup commit.

}

// pulled from CUTIL from CUDA SDK
static inline int compute2cores(unsigned major, unsigned minor) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please move this function movement changes into cleanup commit.

9prady9
9prady9 previously approved these changes Jul 27, 2021
@umar456 umar456 force-pushed the update_cuda branch 2 times, most recently from 5d1de60 to faf7432 Compare July 27, 2021 15:13
@umar456 umar456 merged commit 13959d4 into arrayfire:master Jul 29, 2021
@9prady9 9prady9 deleted the update_cuda branch July 30, 2021 02:23
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.

2 participants