Theano/Theano — pull request #227 by surban (2011-11-24 22:01:56+00:00)
Title: Initial fix for CUDA 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 on exit
in free() on Windows (probably) caused by two DLLs exporting the same symbols
for the code in the header file.

Tested (rudimentary) using CUDA 4.0 and CUDA 3.2 with Visual Studio 2010 and 2008 on Windows 7.