Commit 243f743b authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Fixed threshold for OpenMP vector operations

This prevented scaling of GMRES on small grids (up to 240x240)!
parent 102e5709
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@ namespace TNL {
namespace Containers {   
namespace Algorithms {

static const int OpenMPVectorOperationsThreshold = 65536; // TODO: check this threshold
static const int OpenMPVectorOperationsThreshold = 512; // TODO: check this threshold
static const int PrefetchDistance = 128;

template< typename Vector >