Yes, you have to find the right CUDA version for your Nvidia GPU, follow this table:
https://en.wikipedia.org/wiki/CUDA#GPUs_supported
But first I guess you need to uninstall the CUDA, probably if you installed a recent version, you won't able to revert to previous one, only uninstalling manually CUDA from Terminal:
sudo rm -rf /System/Library/Extensions/CUDA.kext
sudo rm -rf /Library/Frameworks/CUDA.framework
sudo rm -rf /Library/LaunchAgents/com.nvidia.CUDASoftwareUpdate.plist
sudo rm -rf /Library/PreferencePanes/CUDA\ Preferences.prefPane
sudo rm -rf /System/Library/StartupItems/CUDA
sudo rm -rf /usr/local/cuda
To use CUDA-Z you need a CUDA driver higher than 6.0 version , and most important it must be the right one for you GPU correctly detected into the CUDA prefpane.
[doublepost=1536736517][/doublepost]
This is a Mac CPU-Z equivalent:
https://software.intel.com/en-us/download/download-maccpuid
[doublepost=1536736888][/doublepost]
To avoid trails and inverted colors, move out (backup and delete) only the bold kext from your Mojave only this kext and restart: /System/Library/Extensions/
AMDRadeonX3000.kext