CUDA still shows as "Update Required" after installing latest package for macOS

setashim155 not fully correct instruction.
With that steps message about “Update Required” gone… but CUDA acceleration will not work!

Because need to copy correct MAJOR version dylib.
See same my “text” steps:

  1. See GPU driver version in CUDA Preferences, i.e.: 355.11.10.10.20.111 (for current H.Sierra 10.13.2)
  • MAJOR version here: 355
  • Open Terminal app
  • cd /Library/Frameworks/CUDA.framework/Libraries
  • ls libcuda_355.* | tail -1
    • here 355 is major driver version
    • command will show latest dylib for this major version, ie: libcuda_355.10.05.55_mercury.dylib
  • sudo cp -a libcuda_355.10.05.55_mercury.dylib libcuda_355.11.10.10.20.111_mercury.dylib
    • where first file is dylib from previous command, second is filename based on current GPU driver from 1th step
  • cd /Library/Frameworks/CUDA.framework/Resources
  • sudo open -e Info.plist
  • copy last + pair and replace with current gpu driver version. Keep this 2 lines before ie:
  • <key>355.11.10.10.20.111</key>
    <string>355.11.10.10.20.111</string>
    
  • reboot
  • After reboot (if you do all correctly), message “Update Required” gone.
    Install and run CUDA-Z application (can found it here: http://cuda-z.sourceforge.net/#block-macosx) and make sure that it started without error and showed GPU information.