2014-12-22 1 views
0

가 나는 요세미티로 업그레이드했지만 내가 늙은 GeForce9400M를 사용하고 있지만, 드라이버가 작동 새로운 gcc4.9요세미티에 CUDA를 설정하는 방법은 무엇입니까?

gcc: warning: couldn’t understand kern.osversion ‘14.0.0 
gcc: warning: couldn’t understand kern.osversion ‘14.0.0 
In file included from /Developer/NVIDIA/CUDA-5.0/bin/../include/cuda_runtime.h:59:0, 
       from <command-line>:0: 
/Developer/NVIDIA/CUDA-5.0/bin/../include/host_config.h:82:2: error: #error -- unsupported GNU version! gcc 4.7 and up are not supported! 
#error -- unsupported GNU version! gcc 4.7 and up are not supported! 

nvcc 좋아하지 않는다. 이 작업은 DeviceQuery가 NVCC 6.5로 컴파일

CUDA Device Query (Runtime API) version (CUDART static linking) 

Detected 1 CUDA Capable device(s) 

Device 0: "GeForce 9400M" 
    CUDA Driver Version/Runtime Version   6.5/5.0 

deviceQuery, CUDA Driver = CUDART, CUDA Driver Version = 6.5, CUDA Runtime Version = 5.0, NumDevs = 1, Device0 = GeForce 9400M 

: 내가 설정해야

dyld: Library not loaded: @rpath/libcudart.dylib 
    Referenced from: /Developer/NVIDIA/CUDA-5.0/samples/1_Utilities/deviceQuery/./deviceQuery 
    Reason: Incompatible library version: deviceQuery requires version 1.1.0 or later, but libcudart.dylib provides version 0.0.0 
Trace/BPT trap: 5 

요세미티는 CUDA를 사용하는 방법 이것은 DeviceQuery은 NVCC 5.0로 컴파일?

+0

당신이하려는 것은 효과가 없습니다. CUDA 5.0은 Yosemite와 호환되지 않으며 호스트 툴체인 CUDA 5.0이 필요로하는 Xcode/SDK 버전도 없습니다. – talonmies

+0

NVIDIA는 SM1.x가있는 구형 GPU에 대한 드라이버 지원이 더 이상 사용되지 않는다고 말합니다. 이 지침에 따라 https://devtalk.nvidia.com/default/topic/627626/cuda-setup-and-installation/cuda-driver-on-mac-os-mavericks/post/4138126/#4138126 내 드라이버가 여전히 작동합니다. 요세미티 SM1.x에서 CUDA 6.5를 사용할 수 있다고 생각하십니까? – ilciavo

+0

4.9와 함께 gcc 4.7을 설치하고 심볼릭 링크'gcc'가 4.7을 가리 키도록 변경하거나'-ccbin '을 사용하여 4.7을 사용하도록'nvcc'를 설정하십시오. –

답변

0

솔루션 :

CUDAToolkit6.0

2), 4.2.10에

3 CUDAdriver 다운 그레이드) 6.5 만!에 CUDAdriver 업그레이드를 설치

1) ...

나는 여전히 경고를 받는다. nvcc 경고 : 'compute_10'과 'sm_10'아키텍처는 더 이상 사용되지 않으며 향후 릴리스에서 제거 될 수있다.

은 내가 엔비디아 튜토리얼에서이 질문과 대답은

는 따라서 내가 멀리 6.5 툴킷 또는 새로운 업데이트에서 남아있을 것 "하드웨어 업데이트"이었다.

관련 문제