pep8
Remove duplicate DebugMode check for cuda convnet stuff.
pep8
Always create uint, it don't exist too on mac.
Merge pull request #1003 from nouiz/cuda_convnet

uint fix(mac) and remove duplicate debugmode check(cuda_convnet)