Now, CUDA did not compatible Apple clang 7.0.0 also Xcode7.0.
e.g,
> cd /Developer/NVIDIA/CUDA-7.5/samples/0_Simple/asyncAPI
> clang -v
Apple LLVM version 7.0.0 (clang-700.1.75)| #!/bin/bash | |
| CUDA_LIB_DIR=/usr/local/cuda/lib | |
| CUDA_VERSION=7.5 | |
| CUDA_LIBS="cublas cudart curand" | |
| CUDNN_LIB_DIR=/usr/local/cuda/cudnn-3/lib | |
| CUDNN_VERSION=7.0 | |
| CUDNN_LIBS="cudnn" |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| #!/usr/bin/env bash | |
| ################################################################################################# | |
| # This script installls Torch7 and it's various dependencies. | |
| # | |
| # The script is adapted from: | |
| # https://github.com/clementfarabet/torchinstall/blob/master/install | |
| # | |
| # The above didn't quite work for me on macosx (10.8.2) so the following adjustments were made: | |
| # (1) install gcc 4.7.2 and set as compilers used in Torch build so open OpenMP works |
| # Xcode 4.3.3 | |
| Apple clang version 3.1 (tags/Apple/clang-318.0.61) (based on LLVM 3.1svn) | |
| Target: x86_64-apple-darwin11.4.0 | |
| Thread model: posix | |
| # Xcode 4.3.2 | |
| Apple clang version 3.1 (tags/Apple/clang-318.0.58) (based on LLVM 3.1svn) | |
| Target: x86_64-apple-darwin11.4.0 | |
| Thread model: posix |