(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.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |