We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 423ed67 commit 86bc4c7Copy full SHA for 86bc4c7
1 file changed
examples/mandelbrot.cpp
@@ -15,6 +15,7 @@
15
#include <cstdio>
16
#include <iostream>
17
#include <string>
18
+#include <vector>
19
20
#include "pico_bench.hpp"
21
@@ -228,7 +229,7 @@ int main()
228
229
const float y1 = 1;
230
const int maxIters = 256;
231
- alignas(64) std::array<int, width * height> buf;
232
+ std::vector<int, xsimd::aligned_allocator<int, XSIMD_DEFAULT_ALIGNMENT>> buf(width * height);
233
234
auto bencher = pico_bench::Benchmarker<milliseconds>{64, seconds{10}};
235
0 commit comments