From a53ac06a6bb0336d01ec72ac9bf660cd726cef6b Mon Sep 17 00:00:00 2001 From: zhouwei25 Date: Fri, 12 Jul 2019 13:45:48 +0000 Subject: [PATCH] test=develop --- paddle/fluid/platform/gpu_info.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/fluid/platform/gpu_info.cc b/paddle/fluid/platform/gpu_info.cc index 317f476423a..69204f45c67 100644 --- a/paddle/fluid/platform/gpu_info.cc +++ b/paddle/fluid/platform/gpu_info.cc @@ -110,7 +110,7 @@ int GetCUDAComputeCapability(int id) { cudaDeviceProp device_prop; auto e = cudaGetDeviceProperties(&device_prop, id); int a = 10; - PADDLE_ENFORCE(cudaGetDeviceProperties(&device_prop, id), "aaa", e); + PADDLE_ENFORCE(cudaGetDeviceProperties(&device_prop, id), e); return device_prop.major * 10 + device_prop.minor; } -- GitLab