提交 a53ac06a 编写于 作者: Z zhouwei25

test=develop

上级 69d42fd0
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册