From 117ce4cbc1a16da1ba8489aaab754aa0ebe5d3ab Mon Sep 17 00:00:00 2001 From: guosheng Date: Mon, 21 Aug 2017 19:23:42 +0800 Subject: [PATCH] Change class to struct in GemmFunctor to avoid errors on special compilers --- paddle/function/GemmFunctor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/paddle/function/GemmFunctor.cpp b/paddle/function/GemmFunctor.cpp index dc83278d8e..9e25ee58a1 100644 --- a/paddle/function/GemmFunctor.cpp +++ b/paddle/function/GemmFunctor.cpp @@ -84,7 +84,7 @@ struct BlasGemm { } }; -template class BlasGemm; -template class BlasGemm; +template struct BlasGemm; +template struct BlasGemm; } // namespace paddle