Skip to content

Commit 7d5a737

Browse files
committed
reduce matrix dimensions to speed up test and build time
1 parent 16af5a1 commit 7d5a737

2 files changed

Lines changed: 9 additions & 5 deletions

File tree

CMakePresets.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,25 +82,29 @@
8282
"name": "windows-debug",
8383
"displayName": "Windows Debug (Ninja)",
8484
"inheritConfigureEnvironment": true,
85-
"configurePreset": "conf-windows-debug"
85+
"configurePreset": "conf-windows-debug",
86+
"configuration": "Debug"
8687
},
8788
{
8889
"name": "windows-release",
8990
"displayName": "Windows Optimized Release (Ninja)",
9091
"inheritConfigureEnvironment": true,
91-
"configurePreset": "conf-windows-release"
92+
"configurePreset": "conf-windows-release",
93+
"configuration": "Release"
9294
},
9395
{
9496
"name": "linux-debug",
9597
"displayName": "Linux Debug (Ninja)",
9698
"inheritConfigureEnvironment": true,
97-
"configurePreset": "conf-linux-debug"
99+
"configurePreset": "conf-linux-debug",
100+
"configuration": "Debug"
98101
},
99102
{
100103
"name": "linux-release",
101104
"displayName": "Linux Optimized Release (Ninja)",
102105
"inheritConfigureEnvironment": true,
103-
"configurePreset": "conf-linux-release"
106+
"configurePreset": "conf-linux-release",
107+
"configuration": "Release"
104108
}
105109
],
106110
"testPresets": [

test/test_matrix.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#include <random>
33
#include "SIMDMatrix.h"
44

5-
static constexpr size_t MATRIX_SIZE_LIMIT = 204; // Max. 2MB of heap mem used
5+
static constexpr size_t MATRIX_SIZE_LIMIT = 51;
66
using SIMDMatrix = linear_algebra::SIMDMatrix;
77

88
static std::random_device dev;

0 commit comments

Comments
 (0)