mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Add missing semicolon to has_fma definitions to fix GPU builds.
This commit is contained in:
@@ -976,8 +976,7 @@ struct fma_impl<T, std::enable_if_t<has_fma<T>::value>> {
|
|||||||
|
|
||||||
#if defined(EIGEN_GPUCC)
|
#if defined(EIGEN_GPUCC)
|
||||||
template <>
|
template <>
|
||||||
struct has_fma<float> : public true_type {
|
struct has_fma<float> : public true_type {};
|
||||||
}
|
|
||||||
|
|
||||||
template <>
|
template <>
|
||||||
struct fma_impl<float, void> {
|
struct fma_impl<float, void> {
|
||||||
@@ -987,8 +986,7 @@ struct fma_impl<float, void> {
|
|||||||
};
|
};
|
||||||
|
|
||||||
template <>
|
template <>
|
||||||
struct has_fma<double> : public true_type {
|
struct has_fma<double> : public true_type {};
|
||||||
}
|
|
||||||
|
|
||||||
template <>
|
template <>
|
||||||
struct fma_impl<double, void> {
|
struct fma_impl<double, void> {
|
||||||
|
|||||||
Reference in New Issue
Block a user