GPU coder error: Invalid ComputeCapability value 7.5

2 ビュー (過去 30 日間)
shuang zhou
shuang zhou 2020 年 8 月 20 日
コメント済み: shuang zhou 2020 年 8 月 20 日
I tried to verify GPU code generation environment with example code below, and got the following error. Does ComputeCapability 7.5 too high to compute?
gpuEnvObj = coder.gpuEnvConfig;
gpuEnvObj.GpuId = 1;
gpuEnvObj.BasicCodegen = 1;
gpuEnvObj.BasicCodeexec = 1;
results = coder.checkGpuInstall(gpuEnvObj)
Error using coder.checkGpuInstall (line 32)
Error setting property 'ComputeCapability' of class 'GpuConfig': Invalid value '7.5'.
Allowed values are:
3.2, 3.5, 3.7, 5.0, 5.2, 5.3, 6.0, 6.1, 6.2, 7.0, 7.1, 7.2

採用された回答

Walter Roberson
Walter Roberson 2020 年 8 月 20 日
You have a Turing class NVIDIA GPU, but your driver supports only up to Volta.
It looks to me as if you are probably using a 300 series driver such as 384.111
You can update the driver on your system to any 400 series driver. You might as well use the newest available driver for your system, as the newest supports all architectures that your current driver supports, and more.
  5 件のコメント
shuang zhou
shuang zhou 2020 年 8 月 20 日
My current matlab version is 2019a, I solved this problem by update matlab to 2020b prerelease .
Then add NVIDIA_CUDNN and NVIDIA_TENSORRT to system environment variables list
>> getenv('NVIDIA_CUDNN')
'C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.2'
>> getenv('NVIDIA_TENSORRT')
'C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.2\TensorRT-7.1.3.4'
shuang zhou
shuang zhou 2020 年 8 月 20 日
matlab 2019a
MATLAB 2019A
MATLAB 2020B

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGPU Computing についてさらに検索

製品


リリース

R2019a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by