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

revert-3824-remove_grad_op_type
guosheng 8 years ago
parent bcc6d14ef8
commit 117ce4cbc1

@ -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