Created by: zhouwei25
Optimize the error messages of paddle CUDA API.
for example, (If CUDA driver version is too low):
(After this PR):
Error Message Summary:
ExternalError: cudaGetDeviceCount failed in paddle::platform::GetCUDADeviceCountImpl. This indicates that the installed NVIDIA CUDA driver is older than the CUDA runtime library. This is not a supported configuration. Users should install an updated NVIDIA display driver to allow the application to run. In summary, CUDA runtime error (35) : CUDA driver version is insufficient for CUDA runtime version at (D:\1.6.2\paddle\paddle\fluid\platform\gpu_info.cc:67)