Hi, 

Pkg.test("Mocha") works for CPU.


But now I want to use my GPU backend; I set ENV["MOCHA_USE_CUDA"] = "true"

I find the device no issues 
* CUDA enabled [DEV=0] (MOCHA_USE_CUDA environment variable detected)

But I get the error: 

ERROR: LoadError: ccall: could not find function cublasCreate_v2 in library 
from here: Mocha/src/cuda/cublas.jl:50


EDIT: after a couple days of Pkg.update() I now have the error: 
ERROR: LoadError: ccall: could not find function cudnnCreate in library

Should I be linking libraries at runtime? how do I do that using Julia? I 
have put this on the issues list at Mocha (
https://github.com/pluskid/Mocha.jl/issues/172https://github.com/pluskid/Mocha.jl/issues/172
 
<https://github.com/pluskid/Mocha.jl/issues/172>) - but I am wondering if 
it's just my noob status rather than an issue. 


Thx

Reply via email to