If CUDALink worked for you in a previous version of Mathematica, but no longer seems to work in the current version, you may still have a CUDAResources paclet from an older version in your settings files. To force this paclet to update, follow the steps below:

  1. Evaluate the following:
    Needs["CUDALink`"];
    CUDAResourcesInstall[Update->True]
    
  2. Close Mathematica.
  3. Restart Mathematica.

For further details, visit the CUDAResourcesInstall documentation page.