Skip to content

Commit

Permalink
Merge pull request #3602 from guoshengCS/refine-GemmFunctor
Browse files Browse the repository at this point in the history
Change class to struct in GemmFunctor to avoid errors on special compilers
  • Loading branch information
guoshengCS authored Aug 21, 2017
2 parents bcc6d14 + 117ce4c commit 9871c6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions paddle/function/GemmFunctor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 9871c6d

Please sign in to comment.