jaberg/Theano — comment on commit a019900862d2e76ccb4e868634087e325fe594e0
File: theano/sandbox/cuda/cuda_ndarray.cu line 2904
By nouiz:

B have only 1 dimensions You should take CudaNdarray_HOST_DIMS(B)[0] and not CudaNdarray_HOST_DIMS(B)[1]