File tree Expand file tree Collapse file tree
tensorflow/g3doc/get_started Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -612,6 +612,8 @@ which you can install as follows:
612612$ sudo easy_install ipython
613613```
614614
615+ #### Optional: Setup GPU for Mac
616+
615617If you plan to build with GPU support you will need to make sure you have
616618GNU coreutils installed via homebrew:
617619
@@ -652,6 +654,26 @@ $ sudo mv lib/libcudnn* /Developer/NVIDIA/CUDA-7.5/lib
652654$ sudo ln -s /Developer/NVIDIA/CUDA-7.5/lib/libcudnn* /usr/local/cuda/lib/
653655```
654656
657+ To verify the CUDA installation, you can build and run deviceQuery to make sure
658+ it passes.
659+
660+ ``` bash
661+ $ cp -r /usr/local/cuda/samples ~ /cuda-samples
662+ $ pushd ~ /cuda-samples
663+ $ make
664+ $ popd
665+ $ ~ /cuda-samples/bin/x86_64/darwin/release/deviceQuery
666+ ```
667+
668+ If you want to compile tensorflow and have the XCode 7.3 installed, note that
669+ Xcode 7.3 is not yet compatible with CUDA 7.5. You will need to download Xcode
670+ 7.2 and select it as your default:
671+
672+ ``` bash
673+ $ sudo xcode-select -s /Application/Xcode-7.2/Xcode.app
674+ ```
675+
676+
655677### Configure the installation
656678
657679Run the ` configure ` script at the root of the tree. The configure script
You can’t perform that action at this time.
0 commit comments