4

CUDA works in version 8 but not in version 9. Is there a way to fix the problem in version 9? I've installed the latest CUDA from the official website https://developer.nvidia.com/cuda-downloads

enter image description here enter image description here

Szabolcs
  • 234,956
  • 30
  • 623
  • 1,263
xslittlegrass
  • 27,549
  • 9
  • 97
  • 186

1 Answers1

5

This may happen because the CUDA resources downloaded are for version 8 and are not compatible with version 9. The problem can be fixed by re-installing them. To do this, evaluate the following in version 9:

Needs["CUDALink`"]

CUDAResourcesUninstall[]
CUDAResourcesInstall[]

The download is rather large, so it might take a while.

Szabolcs
  • 234,956
  • 30
  • 623
  • 1,263