2017-01-11 6 views
0

내 컴퓨터에서 Alea TK MNIST 예제를 처음 실행하려고합니다. 내가 curand64_80.dll'curand64_80'DLL을로드 할 수 없습니다.

C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\bin에 내가 설정 한 명확하게 볼 수 있지만 Unable to load DLL 'curand64_80': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

: http://www.aleagpu.com/release/3_0_2/doc/installation.html

에 따라

내가 CUDA 8 설치 및 모든하지만 난 항상이 오류가 그것을 실행 구성 (app.config) :

<?xml version="1.0" encoding="utf-8" ?> 
<configuration> 
    <configSections> 
    <section name="aleaSettings" type="Alea.Settings, Alea"/> 
    </configSections> 
    <aleaSettings> 
    <cuBLAS version="8.0"/> 
    <cuRAND version="8.0"/> 
    </aleaSettings> 
    <startup> 
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" /> 
    </startup> 
</configuration> 

티 의 전체 예외 스택 추적입니다 :

at Alea.DynamicInterop.curandCreateGenerator.Invoke(IntPtr , RngType) 
    at [email protected](Unit _arg3) 
    at Alea.cuRAND.Generator..ctor(FSharpOption`1 cc2af9506f3fc494fecea785eae58ff3b, FSharpOption`1 cdd5e91d5c509dec430918468c49a7937, RngType c23e4321fb7f1de7409a3cd12e2cd5890) 
    at (FSharpOption`1 , FSharpOption`1 , RngType) 
    at AleaTK.GpuContext.CreateRandomGenerator(PseudoRandomType type) 
    at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) 
    at AleaTK.ExprImpl.PseudoRandomExpr`1.Execute(Assignment assignment, ILValue`1 output) 
    at AleaTK.LExpr`1.Execute(Assignment assignment) 
    at System.Threading.Tasks.Task.Execute() 

내가 놓치고과 어떻게 성공적으로 샘플을 실행 무엇?

+0

는 DLL이 같은에서 DLL을 당신의 PATH에있는 나있는 폴더가하지 않았다 실행 파일이있는 폴더? 64 비트가 아닌 32 비트를 목표로 삼고 있습니까? DLL 이름과 위치는 DLL의 64 비트 버전임을 나타냅니다. –

+0

감사합니다. 그거였다. 방금 CUDA 설치가 그 일을 처리한다고 가정했습니다. 분명히 아닙니다. – Sam7

답변

0

Update the PATH environment variable 포함하는 C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\bin

은 내가 CUDA 설치가 내 PATH 환경 변수를 업데이트한다고 가정하지만,

0

Alea GPU 3.0.2는 기본적으로 CUDA 툴킷 7.5를 찾고 있습니다. CUDA 툴킷 8.0을 사용하는 것 같습니다. 그에 따라 Alea GPU를 구성해야합니다. CUDA 가져 오기 버전 구성 방법에 대한 자세한 내용은 documentation을 참조하십시오. 또한 여러 CUDA 라이브러리가 64 비트에서만 사용 가능하기 때문에 64 비트를 빌드하고 실행해야합니다. HTH.