Skip to content

Commit 37842d8

Browse files
committed
rerun ci
1 parent 75eaccc commit 37842d8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

paddle/pybind/pybind.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,9 @@ All parameter, weight, gradient are variables in Paddle.
483483
BindOpDesc(m);
484484

485485
m.def("op_support_gpu", OpSupportGPU);
486+
#ifdef PADDLE_WITH_CUDA
486487
m.def("get_cuda_device_count", platform::GetCUDADeviceCount);
488+
#endif
487489

488490
return m.ptr();
489491
}

0 commit comments

Comments
 (0)