Merge pull request #3602 from guoshengCS/refine-GemmFunctor

Change class to struct in GemmFunctor to avoid errors on special compilers
revert-3824-remove_grad_op_type
Guo Sheng 8 years ago committed by GitHub
commit 9871c6db6c

@ -84,7 +84,7 @@ struct BlasGemm<DEVICE_TYPE_GPU, T> {
}
};
template class BlasGemm<DEVICE_TYPE_CPU, real>;
template class BlasGemm<DEVICE_TYPE_GPU, real>;
template struct BlasGemm<DEVICE_TYPE_CPU, real>;
template struct BlasGemm<DEVICE_TYPE_GPU, real>;
} // namespace paddle

Loading…
Cancel
Save