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

test=develop
revert-15953-remove_default_stream_task_1
Yiqun Liu 6 years ago committed by GitHub
parent 798925453e
commit 1616c32acf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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