Nividia is dropping CUDA support for MacOS. The latest release 10.2 will be the final release that will support Apple's macOS and the introduction of a standard C++ library for GPUs.
https://www.phoronix.com/scan.php?page=news_item&px=NVIDIA-CUDA-10.2-Released
https://www.phoronix.com/scan.php?page=news_item&px=NVIDIA-CUDA-10.2-Released