From 4ac72ae307c5f93d74a10e5fdd4fd2faf72af6e1 Mon Sep 17 00:00:00 2001
From: Olivier BICHLER <olivier.bichler@cea.fr>
Date: Mon, 18 Sep 2023 17:11:52 +0200
Subject: [PATCH] Fixed template declaration

---
 src/operator/ConvImpl.cpp | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/operator/ConvImpl.cpp b/src/operator/ConvImpl.cpp
index c745aef..f5e2a94 100644
--- a/src/operator/ConvImpl.cpp
+++ b/src/operator/ConvImpl.cpp
@@ -183,7 +183,4 @@ void Aidge::ConvImpl_cuda<DIM>::backward() { printf("Not implemented yet.\n"); }
 
 
 // Template declarations
-void ConvImpl_cuda_template_declaration ()
-{
-    Aidge::ConvImpl_cuda<2> ConvImpl_cuda2(Aidge::Conv_Op<2>());
-}
+template class Aidge::ConvImpl_cuda<2>;
-- 
GitLab