Add the include of cudnn.h to enable the use of CUDNN_VERSION. (#15961)

test=develop
revert-16045-imperative_remove_desc
Yiqun Liu 6 years ago committed by ceci3
parent b94307a919
commit 2bdf44641c

@ -13,7 +13,9 @@
// limitations under the License.
#include "paddle/fluid/inference/api/paddle_pass_builder.h"
#ifdef PADDLE_WITH_CUDA
#include <cudnn.h>
#endif
#include <glog/logging.h>
namespace paddle {

Loading…
Cancel
Save