Add list of supported XCode/CUDA versions to README

Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/30407

Differential Revision: D18689043

Pulled By: smessmer

fbshipit-source-id: cd772451ef31356ed3045ebb1a9c4f5e5e91bb45
This commit is contained in:
Sebastian Meßmer 2019-11-25 09:32:57 -08:00 committed by Facebook Github Bot
parent 0517323dad
commit d64e2581cc

View File

@ -200,6 +200,14 @@ export CMAKE_PREFIX_PATH=${CONDA_PREFIX:-"$(dirname $(which conda))/../"}
MACOSX_DEPLOYMENT_TARGET=10.9 CC=clang CXX=clang++ python setup.py install
```
Each CUDA version only supports one particular XCode version. The following combinations have been reported to work with PyTorch.
| CUDA version | XCode version |
| ------------ | ------------- |
| 10.0 | XCode 9.4 |
| 10.1 | XCode 10.1 |
On Windows
At least Visual Studio 2017 Update 3 (version 15.3.3 with the toolset 14.11) and [NVTX](https://docs.nvidia.com/gameworks/content/gameworkslibrary/nvtx/nvidia_tools_extension_library_nvtx.htm) are needed.