mirror of
https://github.com/libAthena/athena.git
synced 2025-12-09 21:47:52 +00:00
GCC simd fix
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
#pragma once
|
||||
#define _ATHENA_SIMD_INCLUDED
|
||||
#ifdef __GNUC__
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wignored-attributes"
|
||||
#endif
|
||||
namespace athena::_simd {
|
||||
using namespace std;
|
||||
}
|
||||
@@ -25,6 +29,9 @@ struct athena_native<double> {
|
||||
};
|
||||
} // namespace simd_abi
|
||||
#endif
|
||||
#ifdef __GNUC__
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
namespace athena {
|
||||
template <typename T>
|
||||
using simd = _simd::simd<T, typename _simd::simd_abi::athena_native<T>::type>;
|
||||
|
||||
Reference in New Issue
Block a user