Skip to content
Snippets Groups Projects
Commit 00bdb88b authored by Robert K's avatar Robert K
Browse files

Set default simd with to 4.

parent 7ad55401
No related branches found
No related tags found
No related merge requests found
...@@ -21,7 +21,7 @@ namespace Fem ...@@ -21,7 +21,7 @@ namespace Fem
{ {
/** \brief default code generator methods */ /** \brief default code generator methods */
template < int simdWidth = 2 > template < int simdWidth = 4 >
struct VectorCodeGenerator struct VectorCodeGenerator
{ {
static const char* restrictKey() static const char* restrictKey()
...@@ -776,7 +776,7 @@ namespace Fem ...@@ -776,7 +776,7 @@ namespace Fem
// if this pre processor variable is defined then // if this pre processor variable is defined then
// we assume that CODEGENERATOR_REPLACEMENT is CodeGenerator of choice // we assume that CODEGENERATOR_REPLACEMENT is CodeGenerator of choice
#ifndef CODEGEN_SIMD_WIDTH #ifndef CODEGEN_SIMD_WIDTH
#define CODEGEN_SIMD_WIDTH 2 #define CODEGEN_SIMD_WIDTH 4
#endif #endif
#define FEM_CODEGENERATOR_REPLACEMENT VectorCodeGenerator< CODEGEN_SIMD_WIDTH > #define FEM_CODEGENERATOR_REPLACEMENT VectorCodeGenerator< CODEGEN_SIMD_WIDTH >
} // end namespace Fem } // end namespace Fem
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment