mirror of
https://github.com/paboyle/Grid.git
synced 2025-06-12 20:27:06 +01:00
Added check of mpfr and gmp at configure time
It generates automatically the linker flags or complains if not found.
This commit is contained in:
19
lib/simd/Grid_sse4.cpp
Normal file
19
lib/simd/Grid_sse4.cpp
Normal file
@ -0,0 +1,19 @@
|
||||
//----------------------------------------------------------------------
|
||||
/*! @file Grid_vector_types.h
|
||||
@brief Defines templated class to deal with inner vector types
|
||||
*/
|
||||
// Time-stamp: <2015-05-19 13:53:47 neo>
|
||||
//----------------------------------------------------------------------
|
||||
|
||||
namespace Optimization {
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
// Here assign types
|
||||
namespace Grid {
|
||||
|
||||
|
||||
}
|
@ -1,3 +1,9 @@
|
||||
//----------------------------------------------------------------------
|
||||
/*! @file Grid_vector_types.h
|
||||
@brief Defines templated class to deal with inner vector types
|
||||
*/
|
||||
// Time-stamp: <2015-05-19 13:41:47 neo>
|
||||
//----------------------------------------------------------------------
|
||||
#ifndef GRID_VECTOR_TYPES
|
||||
#define GRID_VECTOR_TYPES
|
||||
|
||||
@ -13,8 +19,8 @@ namespace Grid {
|
||||
struct RealPart< std::complex<T> >{
|
||||
typedef T type;
|
||||
};
|
||||
////////////////////////////////////////////////////////
|
||||
|
||||
////////////////////////////////////////////////////////
|
||||
// Check for complexity with type traits
|
||||
template <typename T>
|
||||
struct is_complex : std::false_type {};
|
||||
|
Reference in New Issue
Block a user