![]() ![]() Support host page-locked memory mapping: Yesĭevice supports Unified Addressing (UVA): Yes Max dimension size of a grid size (x,y,z): (2147483647, 65535, 65535)Ĭoncurrent copy and kernel execution: Yes with 2 copy engine(s) Max dimension size of a thread block (x,y,z): (1024, 1024, 64) Maximum number of threads per block: 1024 Maximum number of threads per multiprocessor: 2048 Total number of registers available per block: 65536 Total amount of shared memory per block: 49152 bytes Total amount of constant memory: 65536 bytes Maximum Layered 1D Texture Size, (num) layers 1D=(32768), 2048 layers (10) Multiprocessors, (128) CUDA Cores/MP: 1280 CUDA Cores Total amount of global memory: 6144 MBytes (6442254336 bytes) Developer/NVIDIA/CUDA-9.0/samples/bin/x86_64/darwin/release/deviceQueryĬUDA Driver Version / Runtime Version 9.0 / 9.0ĬUDA Capability Major/Minor version number: 6.1 We want to compile some CUDA sample to check if the GPU is correctly recognized and supported. ![]() It should be something along the lines of cuda_9.0.176_mac.dmg Set up your env pathsĮdit ~/.bash_profile and add the following: export CUDA_HOME=/usr/local/cudaĮxport DYLD_LIBRARY_PATH=/usr/local/cuda/lib:/usr/local/cuda/extras/CUPTI/libĮxport LD_LIBRARY_PATH=$DYLD_LIBRARY_PATHĮxport PATH=$DYLD_LIBRARY_PATH:$PATH:/Developer/NVIDIA/CUDA-9.0/bin Unpack XCode 8.3.2 and switch the tool chain over to it: sudo xcode-select -s /Applications/Xcode.appĭownload the binary here bash. If you have newer Xcode installed, rename the XCode.app to something like Xcode9.app You may need a developer account to grab the old version I was able to compile all of it on XCode9, but tensorflow promptly segfaults if you actually try to do anything on the gpu. ![]() bazel 0.10.0 (0.12.0 not works in my environment)ĭownload and install from Downgrade to XCode 8.3.2.cuDNN 7.0.5 (latest release for mac os).Mixing homebrew python2/python3 with pip ends up being a mess, so here's an approach to uses the built-in python27. Largely based on the Tensorflow 1.6 gist, this should hopefully simplify things a bit. Tensorflow 1.7 with CUDA on macOS Sierra 10.12.6, Anaconda, and Python 3.6 ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |