Skip to content
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

fix the bug in the cuda compat settings #1278

Merged
merged 1 commit into from
Nov 7, 2023

Conversation

lanking520
Copy link
Member

@lanking520 lanking520 commented Nov 6, 2023

Description

Use CUDA compat with old drivers, not new ones

% verlte() {
    [ "$1" = "$2" ] && return 1 || [  "$1" = "`echo -e "$1\n$2" | sort -V | head -n1`" ]
}
% verlte 2.5.7 2.5.6 && echo "yes" || echo "no"
no
% verlte 535.129.03 515.65.01 && echo "yes" || echo "no"
no
% verlte 515.65.01 535.129.03 && echo "yes" || echo "no"
yes
% verlte 470.129.03 555.68.01 && echo "yes" || echo "no"
yes

@lanking520 lanking520 requested review from zachgk, frankfliu and a team as code owners November 6, 2023 22:46
@lanking520 lanking520 merged commit 68056dd into deepjavalibrary:master Nov 7, 2023
7 checks passed
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.

None yet

2 participants