简体   繁体   English

CUDA API版本和驱动程序版本是否始终相同

[英]Is the CUDA API version and driver version always the same

The CUDA version obtained from cuDriverGetVersion , and the API version from the macro CUDA_VERSION . cuDriverGetVersion获得的CUDA版本,以及从宏CUDA_VERSION获得的API版本。 Are they supposed to be always the same (assuming CUDA is correctly installed)? 它们是否应该始终相同(假设正确安装了CUDA)?

The CUDA_VERSION macro tells you which version of the CUDA API you are compiling your code against. CUDA_VERSION宏告诉您编译代码所依据的CUDA API版本。 cuDriverGetVersion() will tell you the most recent version of CUDA that the driver you're running with supports. cuDriverGetVersion()会告诉您正在运行的驱动程序支持的最新CUDA版本。 So no, they don't have to be the same. 所以不,它们不必相同。 For example, an application that was compiled for CUDA 9.x will run perfectly fine with a driver that supports CUDA 10… 例如,为CUDA 9.x编译的应用程序将使用支持CUDA 10的驱动程序完美运行。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 CUDA驱动程序API-最低驱动程序版本? - CUDA Driver API - minimum driver version? CUDA 驱动程序版本对于 CUDA 运行时版本不足 - CUDA driver version is insufficient for CUDA runtime version CUDA驱动程序版本不足以用于CUDA运行时版本CUDA 10.0版本 - CUDA driver version is insufficient for CUDA runtime version , CUDA version 10.0 Ubuntu 16.04, CUDA 8 - CUDA 驱动程序版本不足以支持 CUDA 运行时版本 - Ubuntu 16.04, CUDA 8 - CUDA driver version is insufficient for CUDA runtime version Nvidia 驱动程序错误 - CUDA 驱动程序版本对于 CUDA 运行时版本不足 - Nvidia driver error - CUDA driver version is insufficient for CUDA runtime version nvidia cuda和驱动程序版本不足 - nvidia cuda and insufficient driver version 张量流错误 CUDA驱动程序版本不足于CUDA运行时版本 - tensorflow error. CUDA driver version is insufficient for CUDA runtime version NVIDIA TV上的Ubuntu-CUDA驱动程序版本不足于CUDA运行时版本 - Ubuntu at NVIDIA TV - CUDA driver version is insufficient for CUDA runtime version “CUDA 驱动程序版本对于 CUDA 运行时版本不足” - 但它不是 - “CUDA driver version is insufficient for CUDA runtime version” - but it isn't cudaErrorInsufficientDriver:CUDA 驱动程序版本对于 CUDA 运行时版本不足 - cudaErrorInsufficientDriver: CUDA driver version is insufficient for CUDA runtime version
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM