From 37842d802d7b283c5f6de52d0f9b007e0ae83a8d Mon Sep 17 00:00:00 2001 From: Dong Zhihong Date: Thu, 26 Oct 2017 15:33:54 -0700 Subject: [PATCH] rerun ci --- paddle/pybind/pybind.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/paddle/pybind/pybind.cc b/paddle/pybind/pybind.cc index 35fbf4d04a6..bc87fabf3fd 100644 --- a/paddle/pybind/pybind.cc +++ b/paddle/pybind/pybind.cc @@ -483,7 +483,9 @@ All parameter, weight, gradient are variables in Paddle. BindOpDesc(m); m.def("op_support_gpu", OpSupportGPU); +#ifdef PADDLE_WITH_CUDA m.def("get_cuda_device_count", platform::GetCUDADeviceCount); +#endif return m.ptr(); } -- GitLab