From b6ab16a09f2f191c651c703bf601dd6d6de1dc8f Mon Sep 17 00:00:00 2001
From: Akash Kothari <akashk4@tyler.cs.illinois.edu>
Date: Tue, 22 Dec 2020 13:11:02 -0600
Subject: [PATCH] Add generated function for CUDNN in DFGraph header

---
 hpvm/include/SupportHPVM/DFGraph.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hpvm/include/SupportHPVM/DFGraph.h b/hpvm/include/SupportHPVM/DFGraph.h
index 57a82eee7e..d4c6d2d377 100644
--- a/hpvm/include/SupportHPVM/DFGraph.h
+++ b/hpvm/include/SupportHPVM/DFGraph.h
@@ -402,7 +402,7 @@ public:
       GenFuncInfo.gpu_hasCPUFunc = isCPUFunc;
       break;
     case hpvm::CUDNN_TARGET:
-      if (GenFuncs.GPUGenFunc != NULL) {
+      if (GenFuncs.CUDNNGenFunc != NULL) {
         DEBUG(errs() << "Warning: Second generated GPU function for node "
                      << FuncPointer->getName() << "\n");
       }
-- 
GitLab