Merge pull request #2250 from daemonmaker/cudnn

Implemented grad for cudnn softmax.