Fixed CUDA support on Windows
Applied patch
from https://groups.google.com/d/topic/theano-dev/CCJXDUOaaUE/discussion
Moved function implementations from header theano/sandbox/cuda/cuda_ndarray.cuh
to theano/sandbox/cuda/cuda_ndarray.cu. This was necessary to fix a crash
in free() on Windows caused by two created DLLs exporting the same symbols
for the code in the header file.
Tested using CUDA 4.0 and CUDA 3.2 with Visual Studio 2010 and 2008 on Windows 7.
正在显示
请
注册
或者
登录
后发表评论