Created by: reyoung
Add an API HasCUDNN in runtime. So we can detect whether CUDNN is installed or not, then we can switch kernel automatically in runtime
HasCUDNN