You need to install cudnn. We don't install it for you.
Le lun. 13 nov. 2017 20:33, roman.foell via theano-users <
[email protected]> a écrit :
> Hello,
>
> I get the following error:
>
> Code hier eingeben...Can not use cuDNN on context None: cannot compile
> with cuDNN. We got this error:
> In file included from C:\Program Files\NVIDIA GPU Computing
> Toolkit\CUDA\v7.0\include/driver_types.h:53:0,
> from C:\Program Files\NVIDIA GPU Computing
> Toolkit\CUDA\v7.0\include/cudnn.h:63,
> from
> c:\users\flo9fe\appdata\local\temp\try_flags_lx5h9t.c:4:
> C:\Program Files\NVIDIA GPU Computing
> Toolkit\CUDA\v7.0\include/host_defines.h:84:0: warning: "__cdecl" redefined
> #define __cdecl
> ^
> <built-in>: note: this is the location of the previous definition
> C:/ProgramData/Anaconda2/Library/mingw-w64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
> cannot find -lcudnn
> collect2.exe: error: ld returned 1 exit status
>
> Mapped name None to device cuda: Quadro K2100M (0000:01:00.0)
> [GpuElemwise{exp,no_inplace}(<GpuArrayType<None>(float32, (False,))>),
> HostFromGpu(gpuarray)(GpuElemwise{exp,no_inplace}.0)]
> Looping 1000 times took 0.577000 seconds
> Result is [ 1.23178029 1.61879349 1.52278066 ..., 2.20771813 2.29967761
> 1.62323296]
> Used the gpu
>
>
> My .theanorc:
>
> [global]
> device = cuda
> floatX = float32
> MKL_THREADING_LAYER=GNU
>
> [lib]
> cnmem=90
>
> [cuda]
> root = C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.0
> base_compiledir=/tmp/%(user)s/theano.NOBACKUP
> nvcc.flags=-D_FORCE_INLINES
> optimizer_including=cudnn
>
> [nvcc]
> fastmath = True
> compiler_bindir=C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin
>
>
> Thanks for help.
>
> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "theano-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>
--
---
You received this message because you are subscribed to the Google Groups
"theano-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.