Skip to content

Commit d40035b

Browse files
authored
Merge: Rayon-style Parallel Iterators 🦀
Relates #2
2 parents 8f5b541 + de42b36 commit d40035b

File tree

10 files changed

+1472
-189
lines changed

10 files changed

+1472
-189
lines changed

.vscode/launch.json

Lines changed: 49 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
"cwd": "${workspaceFolder}",
1414
"args": [],
1515
"setupCommands": [
16-
{ // Display content in STL containers pretty
16+
{
17+
// Display content in STL containers pretty
1718
"description": "Enable pretty-printing for gdb",
1819
"text": "-enable-pretty-printing",
1920
"ignoreFailures": true
@@ -26,7 +27,7 @@
2627
},
2728
{
2829
"text": "break exit"
29-
},
30+
}
3031
],
3132
"environment": [
3233
{
@@ -44,6 +45,42 @@
4445
"miDebuggerPath": "C:\\MinGw\\bin\\gdb.exe"
4546
}
4647
},
48+
{
49+
"name": "Debug C++ i386 with GDB",
50+
"type": "cppdbg",
51+
"request": "launch",
52+
"preLaunchTask": "Build: Debug i386 with GDB",
53+
"program": "${workspaceFolder}/build_i386/fork_union_test_cpp20",
54+
"cwd": "${workspaceFolder}",
55+
"args": [],
56+
"setupCommands": [
57+
{
58+
"description": "Enable pretty-printing for gdb",
59+
"text": "-enable-pretty-printing",
60+
"ignoreFailures": true
61+
},
62+
{
63+
"text": "break pending on"
64+
},
65+
{
66+
"text": "break abort"
67+
},
68+
{
69+
"text": "break exit"
70+
}
71+
],
72+
"environment": [
73+
{
74+
"name": "ASAN_OPTIONS",
75+
"value": "detect_leaks=0:atexit=1:strict_init_order=1:strict_string_checks=1"
76+
}
77+
],
78+
"stopAtEntry": false,
79+
"targetArchitecture": "x86",
80+
"linux": {
81+
"MIMode": "gdb"
82+
}
83+
},
4784
{
4885
"name": "Debug C++ with LLDB",
4986
"type": "cppdbg",
@@ -53,7 +90,8 @@
5390
"cwd": "${workspaceFolder}",
5491
"args": [],
5592
"setupCommands": [
56-
{ // Display content in STL containers pretty
93+
{
94+
// Display content in STL containers pretty
5795
"description": "Enable pretty-printing for gdb",
5896
"text": "-enable-pretty-printing",
5997
"ignoreFailures": true
@@ -71,7 +109,7 @@
71109
},
72110
"osx": {
73111
"MIMode": "lldb"
74-
},
112+
}
75113
},
76114
{
77115
"name": "Debug N-Body with GDB",
@@ -82,7 +120,8 @@
82120
"cwd": "${workspaceFolder}",
83121
"args": [],
84122
"setupCommands": [
85-
{ // Display content in STL containers pretty
123+
{
124+
// Display content in STL containers pretty
86125
"description": "Enable pretty-printing for gdb",
87126
"text": "-enable-pretty-printing",
88127
"ignoreFailures": true
@@ -108,33 +147,29 @@
108147
{
109148
"name": "NBODY_BACKEND",
110149
"value": "fork_union_dynamic"
111-
},
150+
}
112151
],
113152
"stopAtEntry": false,
114153
"linux": {
115154
"MIMode": "gdb"
116155
},
117156
"osx": {
118157
"MIMode": "lldb"
119-
},
158+
}
120159
},
121160
{
122161
"name": "Debug Rust",
123162
"type": "lldb",
124163
"request": "launch",
125164
"cargo": {
126-
"args": [
127-
"test"
128-
]
165+
"args": ["test"]
129166
},
130167
"program": "${cargo:program}",
131168
"args": [],
132169
"cwd": "${workspaceFolder}",
133170
"env": {},
134-
"sourceLanguages": [
135-
"rust"
136-
],
171+
"sourceLanguages": ["rust"],
137172
"lldb.adapter": "/absolute/path/to/codelldb/adapter/codelldb"
138173
}
139174
]
140-
}
175+
}

.vscode/settings.json

Lines changed: 137 additions & 126 deletions
Original file line numberDiff line numberDiff line change
@@ -1,127 +1,138 @@
11
{
2-
"cSpell.words": [
3-
"ashvardanian",
4-
"cntfrq",
5-
"cntvct",
6-
"codegen",
7-
"colocations",
8-
"combinators",
9-
"Condvar",
10-
"constexpr",
11-
"coprime",
12-
"ctest",
13-
"fprintf",
14-
"futex",
15-
"gethugepagesizes",
16-
"hugepages",
17-
"HugeTLBfs",
18-
"inclusivity",
19-
"libnuma",
20-
"nbody",
21-
"noexcept",
22-
"NUMA",
23-
"OpenMP",
24-
"prefetcher",
25-
"println",
26-
"pthreads",
27-
"rdtsc",
28-
"repr",
29-
"riscv",
30-
"rsqrt",
31-
"simsimd",
32-
"SIMT",
33-
"STREQUAL",
34-
"SysCall",
35-
"SysFS",
36-
"topo",
37-
"TSAN",
38-
"Vardanian",
39-
"vecs",
40-
"WFET"
41-
],
42-
"files.associations": {
43-
"__bit_reference": "cpp",
44-
"__config": "cpp",
45-
"__debug": "cpp",
46-
"__functional_03": "cpp",
47-
"__functional_base": "cpp",
48-
"__hash_table": "cpp",
49-
"__locale": "cpp",
50-
"__mutex_base": "cpp",
51-
"__node_handle": "cpp",
52-
"__nullptr": "cpp",
53-
"__split_buffer": "cpp",
54-
"__threading_support": "cpp",
55-
"__verbose_abort": "cpp",
56-
"*.cmake.in": "cmake",
57-
"algorithm": "cpp",
58-
"array": "cpp",
59-
"atomic": "cpp",
60-
"bit": "cpp",
61-
"bitset": "cpp",
62-
"cctype": "cpp",
63-
"charconv": "cpp",
64-
"chrono": "cpp",
65-
"cinttypes": "cpp",
66-
"clocale": "cpp",
67-
"cmath": "cpp",
68-
"compare": "cpp",
69-
"complex": "cpp",
70-
"concepts": "cpp",
71-
"condition_variable": "cpp",
72-
"cstdarg": "cpp",
73-
"cstddef": "cpp",
74-
"cstdint": "cpp",
75-
"cstdio": "cpp",
76-
"cstdlib": "cpp",
77-
"cstring": "cpp",
78-
"ctime": "cpp",
79-
"cwchar": "cpp",
80-
"cwctype": "cpp",
81-
"deque": "cpp",
82-
"exception": "cpp",
83-
"execution": "cpp",
84-
"format": "cpp",
85-
"forward_list": "cpp",
86-
"functional": "cpp",
87-
"initializer_list": "cpp",
88-
"iomanip": "cpp",
89-
"ios": "cpp",
90-
"iosfwd": "cpp",
91-
"iostream": "cpp",
92-
"istream": "cpp",
93-
"iterator": "cpp",
94-
"limits": "cpp",
95-
"locale": "cpp",
96-
"memory": "cpp",
97-
"memory_resource": "cpp",
98-
"mutex": "cpp",
99-
"new": "cpp",
100-
"numbers": "cpp",
101-
"numeric": "cpp",
102-
"optional": "cpp",
103-
"ostream": "cpp",
104-
"print": "cpp",
105-
"queue": "cpp",
106-
"random": "cpp",
107-
"ratio": "cpp",
108-
"semaphore": "cpp",
109-
"span": "cpp",
110-
"sstream": "cpp",
111-
"stack": "cpp",
112-
"stdexcept": "cpp",
113-
"stop_token": "cpp",
114-
"streambuf": "cpp",
115-
"string": "cpp",
116-
"string_view": "cpp",
117-
"system_error": "cpp",
118-
"thread": "cpp",
119-
"tuple": "cpp",
120-
"type_traits": "cpp",
121-
"typeinfo": "cpp",
122-
"unordered_map": "cpp",
123-
"utility": "cpp",
124-
"variant": "cpp",
125-
"vector": "cpp"
126-
}
127-
}
2+
"[json]": {
3+
"editor.detectIndentation": false,
4+
"editor.insertSpaces": true,
5+
"editor.tabSize": 4
6+
},
7+
"[jsonc]": {
8+
"editor.detectIndentation": false,
9+
"editor.insertSpaces": true,
10+
"editor.tabSize": 4
11+
},
12+
"cSpell.words": [
13+
"ashvardanian",
14+
"cntfrq",
15+
"cntvct",
16+
"codegen",
17+
"colocations",
18+
"combinators",
19+
"Condvar",
20+
"constexpr",
21+
"coprime",
22+
"ctest",
23+
"fprintf",
24+
"futex",
25+
"gethugepagesizes",
26+
"hugepages",
27+
"HugeTLBfs",
28+
"inclusivity",
29+
"libnuma",
30+
"nbody",
31+
"noexcept",
32+
"NUMA",
33+
"OpenMP",
34+
"prefetcher",
35+
"println",
36+
"pthreads",
37+
"rdtsc",
38+
"repr",
39+
"riscv",
40+
"rsqrt",
41+
"simsimd",
42+
"SIMT",
43+
"STREQUAL",
44+
"SysCall",
45+
"SysFS",
46+
"topo",
47+
"TSAN",
48+
"Vardanian",
49+
"vecs",
50+
"WFET"
51+
],
52+
"files.associations": {
53+
"__bit_reference": "cpp",
54+
"__config": "cpp",
55+
"__debug": "cpp",
56+
"__functional_03": "cpp",
57+
"__functional_base": "cpp",
58+
"__hash_table": "cpp",
59+
"__locale": "cpp",
60+
"__mutex_base": "cpp",
61+
"__node_handle": "cpp",
62+
"__nullptr": "cpp",
63+
"__split_buffer": "cpp",
64+
"__threading_support": "cpp",
65+
"__verbose_abort": "cpp",
66+
"*.cmake.in": "cmake",
67+
"algorithm": "cpp",
68+
"array": "cpp",
69+
"atomic": "cpp",
70+
"bit": "cpp",
71+
"bitset": "cpp",
72+
"cctype": "cpp",
73+
"charconv": "cpp",
74+
"chrono": "cpp",
75+
"cinttypes": "cpp",
76+
"clocale": "cpp",
77+
"cmath": "cpp",
78+
"compare": "cpp",
79+
"complex": "cpp",
80+
"concepts": "cpp",
81+
"condition_variable": "cpp",
82+
"cstdarg": "cpp",
83+
"cstddef": "cpp",
84+
"cstdint": "cpp",
85+
"cstdio": "cpp",
86+
"cstdlib": "cpp",
87+
"cstring": "cpp",
88+
"ctime": "cpp",
89+
"cwchar": "cpp",
90+
"cwctype": "cpp",
91+
"deque": "cpp",
92+
"exception": "cpp",
93+
"execution": "cpp",
94+
"format": "cpp",
95+
"forward_list": "cpp",
96+
"functional": "cpp",
97+
"initializer_list": "cpp",
98+
"iomanip": "cpp",
99+
"ios": "cpp",
100+
"iosfwd": "cpp",
101+
"iostream": "cpp",
102+
"istream": "cpp",
103+
"iterator": "cpp",
104+
"limits": "cpp",
105+
"locale": "cpp",
106+
"memory": "cpp",
107+
"memory_resource": "cpp",
108+
"mutex": "cpp",
109+
"new": "cpp",
110+
"numbers": "cpp",
111+
"numeric": "cpp",
112+
"optional": "cpp",
113+
"ostream": "cpp",
114+
"print": "cpp",
115+
"queue": "cpp",
116+
"random": "cpp",
117+
"ratio": "cpp",
118+
"semaphore": "cpp",
119+
"span": "cpp",
120+
"sstream": "cpp",
121+
"stack": "cpp",
122+
"stdexcept": "cpp",
123+
"stop_token": "cpp",
124+
"streambuf": "cpp",
125+
"string": "cpp",
126+
"string_view": "cpp",
127+
"system_error": "cpp",
128+
"thread": "cpp",
129+
"tuple": "cpp",
130+
"type_traits": "cpp",
131+
"typeinfo": "cpp",
132+
"unordered_map": "cpp",
133+
"utility": "cpp",
134+
"variant": "cpp",
135+
"vector": "cpp"
136+
},
137+
"prettier.tabWidth": 4
138+
}

0 commit comments

Comments
 (0)