提交 117ce4cb 编写于 作者: G guosheng

Change class to struct in GemmFunctor to avoid errors on special compilers

上级 bcc6d14e
...@@ -84,7 +84,7 @@ struct BlasGemm<DEVICE_TYPE_GPU, T> { ...@@ -84,7 +84,7 @@ struct BlasGemm<DEVICE_TYPE_GPU, T> {
} }
}; };
template class BlasGemm<DEVICE_TYPE_CPU, real>; template struct BlasGemm<DEVICE_TYPE_CPU, real>;
template class BlasGemm<DEVICE_TYPE_GPU, real>; template struct BlasGemm<DEVICE_TYPE_GPU, real>;
} // namespace paddle } // namespace paddle
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册