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

[FEA] Java APIs to determine CUDA driver and runtime versions #8084

Closed
jlowe opened this issue Apr 27, 2021 · 2 comments · Fixed by #8465
Closed

[FEA] Java APIs to determine CUDA driver and runtime versions #8084

jlowe opened this issue Apr 27, 2021 · 2 comments · Fixed by #8465
Assignees
Labels
feature request New feature or request Java Affects Java cuDF API. Spark Functionality that helps Spark RAPIDS

Comments

@jlowe
Copy link
Contributor

jlowe commented Apr 27, 2021

Is your feature request related to a problem? Please describe.
Related to the snappy nanosleep issue, sometimes we may need to detect a combination of CUDA driver and CUDA runtime that has known issues and either emit a warning or throw an exception when a particular combination is detected.

Describe the solution you'd like
The existing Java Cuda class can expose methods like the following:

/** Returns the latest CUDA version supported by the driver as 1000*major + 10*minor */
int getDriverVersion();

/** Returns the CUDA runtime version as 1000*major + 10*minor */
int getRuntimeVersion();

It may be helpful to have a method that returns the full driver version string rather that only being able to access the CUDA runtime supported by the driver.

@jlowe jlowe added feature request New feature or request Java Affects Java cuDF API. Spark Functionality that helps Spark RAPIDS labels Apr 27, 2021
@github-actions
Copy link

This issue has been labeled inactive-30d due to no recent activity in the past 30 days. Please close this issue if no further response or action is needed. Otherwise, please respond with a comment indicating any updates or changes to the original issue and/or confirm this issue still needs to be addressed. This issue will be labeled inactive-90d if there is no activity in the next 60 days.

@GaryShen2008
Copy link
Contributor

Maybe we can also support #6363.

rapids-bot bot pushed a commit that referenced this issue Jun 11, 2021
Closes #8084 #6363

Signed-off-by: sperlingxx <[email protected]>

Authors:
  - Alfred Xu (https://github.com/sperlingxx)

Approvers:
  - Robert (Bobby) Evans (https://github.com/revans2)
  - Alessandro Bellina (https://github.com/abellina)

URL: #8465
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request Java Affects Java cuDF API. Spark Functionality that helps Spark RAPIDS
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants