“2fd1bf2ea6b6e0d27fb49461dd2b35c8e2a2b13b”上不存在“paddle/phi/kernels/gpu/conv_grad_grad_kernel.cu”
提交 83d82768 编写于 作者: Z zhouwei25

test=develop

上级 a53ac06a
......@@ -110,7 +110,8 @@ int GetCUDAComputeCapability(int id) {
cudaDeviceProp device_prop;
auto e = cudaGetDeviceProperties(&device_prop, id);
int a = 10;
PADDLE_ENFORCE(cudaGetDeviceProperties(&device_prop, id), e);
char c = '1';
PADDLE_ENFORCE(cudaGetDeviceProperties(&device_prop, id), a, c);
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.
先完成此消息的编辑!
想要评论请 注册