0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-26 00:32:35 +01:00
Commit graph

5389 commits

Author SHA1 Message Date
Jason Volk
29fb7910b7 ircd::gpt: Model structural tweaks; task structure; various. 2021-04-22 12:27:56 -07:00
Jason Volk
cb45dcc840 ircd:🆑 Add subbuffer region handles to interface. 2021-04-22 12:27:56 -07:00
Jason Volk
2a730b2799 ircd:🆑:exec: Add more specific size/offset argument for map closure related. 2021-04-22 12:27:56 -07:00
Jason Volk
9e795acd72 ircd:🆑 Assert cl::data object not included in parameter template. 2021-04-22 12:27:56 -07:00
Jason Volk
d5f1a490db ircd:🆑 Add flush and sync exec opts; reorg post-submit related. 2021-04-22 12:27:56 -07:00
Jason Volk
dbf19fcf4b ircd:🆑:kern: Add argument setter template for various/integral inputs. 2021-04-22 12:27:56 -07:00
Jason Volk
6ca5f8b18f ircd:🆑:code: Add binary construction. 2021-04-22 12:27:56 -07:00
Jason Volk
034170cb30 ircd:🆑 Add status argument to work::wait(); improve dtors. 2021-04-22 12:27:56 -07:00
Jason Volk
54c1be6ec3 ircd:🆑 Add conf item for queue profiling flag. 2021-04-22 12:27:56 -07:00
Jason Volk
000102cf4e ircd:🆑 Add argument-ordered ergonomic constructor. 2021-04-22 12:27:56 -07:00
Jason Volk
21472fcc5b ircd:🆑 Add buffer to buffer copy to interface. 2021-04-22 12:27:56 -07:00
Jason Volk
07dd934602 ircd:🆑:exec: Add the no-implicit-dependency option for exec. 2021-04-22 12:27:56 -07:00
Jason Volk
4ab97bd1a3 ircd::buffer: Minor qualifiers; minor cleanup. 2021-04-22 12:27:56 -07:00
Jason Volk
51d2ac4b33 ircd:🆑 Reorder the kern::range lists for common construction; minor fixes. 2021-04-22 12:27:56 -07:00
Jason Volk
a21589654a ircd:🆑 Re-attempt pre-SVM mapping w/ synchronous closure. 2021-03-17 18:55:56 -07:00
Jason Volk
d69f8ffb9c ircd:🆑:data: Add basic property interface wrappings. 2021-03-17 18:55:56 -07:00
Jason Volk
60e66cb273 ircd:🆑 Move work wait function out of dtor into member; assert handle. 2021-03-17 18:55:56 -07:00
Jason Volk
3389c23feb ircd::math: Add softmax functions. 2021-03-17 18:55:56 -07:00
Jason Volk
31425a5ca0 ircd::math: Add vector fallbacks for standard exp. 2021-03-17 18:55:56 -07:00
Jason Volk
480722b3b8 ircd::math: Additional fallback overloads for explicit precisions. 2021-03-17 18:55:56 -07:00
Jason Volk
74d7747fa3 ircd::math: Add fallback for vectorized single-precision power of. 2021-03-17 18:55:56 -07:00
Jason Volk
152ea2df0a ircd::math: Add normalization template. 2021-03-17 18:55:56 -07:00
Jason Volk
70bb5c257a ircd::math: Allow increased mean template precision. 2021-03-17 18:55:56 -07:00
Jason Volk
05a3e505cc ircd::simd: Add horizontal adder template. 2021-03-17 18:55:56 -07:00
Jason Volk
90f88cf78d ircd: Allow restricted pointer constructions for string_view/vector_view. 2021-03-17 18:55:56 -07:00
Jason Volk
0cef0848e1 ircd::vector_view: Use proper typedefs in places. 2021-03-17 18:55:56 -07:00
Jason Volk
8032454415 ircd::math: Add matrix fused-multiply-add template. 2021-03-17 18:55:56 -07:00
Jason Volk
7505783cc7 ircd::math: Add fallback for vectorized hyperbolic tangent. 2021-03-16 12:58:22 -07:00
Jason Volk
d6d18f7b08 ircd::buffer: Add non-char array convenience cast constructions. 2021-03-16 12:58:22 -07:00
Jason Volk
5d6554b1a3 ircd:🆑 Improve data construction; add initialization xfer to ctor. 2021-03-16 12:58:22 -07:00
Jason Volk
44521ce019 ircd:🆑 Add variadic argument template pack construction. 2021-03-16 12:58:22 -07:00
Jason Volk
c7fa7a07ee ircd::simd: Fix attribute ns. 2021-03-16 12:58:22 -07:00
Jason Volk
ca1d715702 ircd:🆑 Expose enable conf item to interface. 2021-03-16 12:58:22 -07:00
Jason Volk
699d15e8c9 ircd:🆑 Add options for exec; improve dependency related. 2021-03-16 12:58:22 -07:00
Jason Volk
b1bfa7640d ircd:🆑 Add missing move ctor and move assign inlines. 2021-03-16 12:58:22 -07:00
Jason Volk
59106f9456 ircd::fs::map: Add hugepage related to interface opts. 2021-03-16 12:58:22 -07:00
Jason Volk
fdd052da87 ircd::fs::map: Add MAP_LOCKED wrapper to interface opts. 2021-03-16 12:58:22 -07:00
Jason Volk
43b85dad87 ircd:🆑 Offload blocking wait to thread; integrate dependencies with ircd::ctx. 2021-03-16 12:58:22 -07:00
Jason Volk
d115d88e6c ircd::ctx: Simplify main thread conditions with tls bit. 2021-03-16 12:58:22 -07:00
Jason Volk
dea1118bda ircd:🆑 Build code on construction unless coerced otherwise. 2021-03-16 12:58:22 -07:00
Jason Volk
4da7d2ae43 ircd::gpt: Add task struct; mmap cached model directly; improve init. 2021-03-16 12:58:22 -07:00
Jason Volk
6f3adfd160 ircd::fs::map: Add static opts instance w/ default ctor argument. 2021-03-16 12:58:22 -07:00
Jason Volk
734948863f ircd::gpt::vocab: Add token debug string tool. 2021-03-09 04:50:19 -08:00
Jason Volk
33a1ffd4bf ircd::gpt: Add basic interface; add options, context. 2021-03-09 04:50:19 -08:00
Jason Volk
4458235dfa ircd::gpt: More Matrix Than Matrix. 2021-03-09 04:50:19 -08:00
Jason Volk
53c4260a21 ircd::gpt: Add Basic Latin (lower) and C0 replacement LUT; various. 2021-03-09 04:50:19 -08:00
Jason Volk
c014fa2bbe ircd::vector_view: Add size masked composition construction. 2021-03-09 04:50:19 -08:00
Jason Volk
17f72c96c8 ircd::simd: Improve streaming tokens template. 2021-03-07 23:35:58 -08:00
Jason Volk
925eee5209 ircd::fpe: Add classification reflector; additional noexcept linkages. 2021-03-07 23:35:58 -08:00
Jason Volk
9058e203c0 ircd::simd: Add convenience debug print template direct to stdout. 2021-03-05 15:34:54 -08:00
Jason Volk
0721f8ca5a ircd::fmt: Add several class comment briefs. [ci skip] 2021-03-05 13:02:12 -08:00
Jason Volk
954105d1ac ircd::math: Add mean suite. 2021-03-05 13:02:12 -08:00
Jason Volk
015ef698a3 ircd::math: Add modular inversion utility. 2021-03-05 13:02:12 -08:00
Jason Volk
014d0281d7 ircd::math: Start supplemental library; move log2 constexprs from util. 2021-03-05 13:02:12 -08:00
Jason Volk
44683b01f3 ircd::simd: Add all-bit mask constexpr undef for floating point lanes. 2021-03-05 13:02:12 -08:00
Jason Volk
29b47e8890 ircd::simd: Add constexprs for some lane traits. 2021-03-05 13:02:12 -08:00
Jason Volk
cd2c6630bc ircd::simd: Additional distinguishing type trait constexpr. 2021-03-05 13:02:12 -08:00
Jason Volk
b55d670af1 ircd::spirit: Fixes for thread_local generator_state linkage related. 2021-03-05 13:02:12 -08:00
Jason Volk
cc9df943a7 ircd: Refactor lex_cast impl to boost spirit rather than boost conversions. 2021-03-05 13:02:12 -08:00
Jason Volk
29b99dcf4d ircd::gpt: Split vocab related into separate unit. 2021-03-02 11:13:59 -08:00
Jason Volk
5bd4255006 ircd::rand: Remove inline noexcepts. 2021-02-27 13:01:02 -08:00
Jason Volk
2be7c0ff6f ircd::simd: Improve lane size traits basis; fix conflicting templates. 2021-02-27 13:01:02 -08:00
Jason Volk
14662b51ce ircd::rand: Add random distribution vector generation. 2021-02-27 13:00:36 -08:00
Jason Volk
9d1316b412 ircd::simd: Use _Float16 / __fp16 for half-precision when available. 2021-02-26 14:55:15 -08:00
Jason Volk
57f9d3fdfb ircd::gpt: Add vocabulary tokenization; byte-pair merge encoding for natural language. 2021-02-26 14:52:33 -08:00
Jason Volk
394858ff91 ircd::simd: Start character string tools suite; add strlen(); add strcat(). 2021-02-26 14:52:33 -08:00
Jason Volk
ee904d9b33 ircd::simd: Add preliminary character print utils to suite. 2021-02-25 14:38:52 -08:00
Jason Volk
9b1f2b4268 ircd::spirit: Import inf into namespace. 2021-02-25 14:38:52 -08:00
Jason Volk
4915ced6ce ircd::icu: Add bulk vector utility overloads. 2021-02-25 14:38:52 -08:00
Jason Volk
8509354ae6 ircd::simd: Add signed character types. 2021-02-25 14:38:52 -08:00
Jason Volk
75865b86ad ircd::simd: Add template for streaming tokenization. 2021-02-25 14:38:52 -08:00
Jason Volk
da0de1dffc ircd: Cleanup master include index; reorg/reorder. 2021-02-17 10:35:32 -08:00
Jason Volk
328fce79a3 ircd:🆑 Abort the 1.x CL_MAP from interface for now. 2021-02-11 03:21:08 -08:00
Jason Volk
53806a7973 ircd:Ⓜ️:room::events: Add lower_bound to seek_idx() for relaxed seek. 2021-02-10 23:38:44 -08:00
Jason Volk
b39f574ba9 ircd::info: Probe characteristics for transparent hugepage support. 2021-02-10 02:14:15 -08:00
Jason Volk
efca102ef3 ircd:Ⓜ️:request: Consolidate request content buffers; remove complex tls. 2021-02-10 00:57:27 -08:00
Jason Volk
75445eb047 ircd::net::hostport: Fix condition for service string in rfc3986::uri ctor. 2021-02-09 08:18:28 -08:00
Jason Volk
3eec22db69 ircd::stringops: Add stripa() w/ default std::isspace() dict. 2021-02-05 23:33:16 -08:00
Jason Volk
2e5da32c7a ircd:Ⓜ️:bridge: Add thirdparty/protocol query. 2021-02-04 21:13:42 -08:00
Jason Volk
7d7846c57a ircd:Ⓜ️:bridge: Refactor query interface; simplify. 2021-02-04 21:13:42 -08:00
Jason Volk
207997ac95 ircd:Ⓜ️:bridge: Refactor config interface; remove central !bridge room related. 2021-02-03 18:01:15 -08:00
Jason Volk
a1420b25a3 ircd::http: Add log level severity(category) convenience tool; tweak category table. 2021-02-03 18:01:15 -08:00
Jason Volk
e1db70ca04 ircd:Ⓜ️:bridge: Add make_uri() utility. 2021-02-02 07:54:26 -08:00
Jason Volk
5a7208729a ircd:Ⓜ️ Add format argument to pretty_msgline(); add text fmt w/ console arg. 2021-01-30 19:20:50 -08:00
Jason Volk
744744f88a ircd:Ⓜ️ Query range of messages user is presently engaged in reading. 2021-01-25 00:12:10 -08:00
Jason Volk
2d0a565ede ircd:Ⓜ️ Add viewing(user) for currently viewing room w/ console cmd. 2021-01-25 00:06:19 -08:00
Jason Volk
66639ee119 ircd::png: Elaborate callback surface; add logger to prevent libpng writes to stderr. 2021-01-23 10:57:01 -08:00
Jason Volk
7aff759abc ircd::png: Add unit; start header; stub. 2021-01-15 19:55:28 -08:00
Jason Volk
3549ab473a ircd:🆑 Load the pipe dynamically after configuring environment. 2021-01-14 23:44:49 -08:00
Jason Volk
383637ae51 ircd:Ⓜ️:dbs: Add conf items for content / event_json file size. 2021-01-12 13:55:45 -08:00
Jason Volk
9740b15fb9 ircd:Ⓜ️:vm: Additional emption related fault codes. 2021-01-12 13:55:45 -08:00
Jason Volk
869ce974bf ircd:🆑 Add primary interface component handle classes. 2021-01-12 13:55:45 -08:00
Jason Volk
5ad43d8817 ircd:🆑 Add library interfacing utils; add init, infolog device banner.
ircd:🆑 Add context and device queue related init/dtor.
2021-01-08 01:37:45 -08:00
Jason Volk
d6e01f5a43 ircd:Ⓜ️ Add signing_key_update schema. 2021-01-04 13:17:30 -08:00
Jason Volk
c799f378d1 ircd:Ⓜ️ Structure for CrossSignKey. 2021-01-04 08:47:21 -08:00
Jason Volk
2c1f9e5162 ircd::resource::response::chunked: Add convenience amalgam w/ json::stack, top json::object. 2021-01-04 01:12:49 -08:00
Jason Volk
d52d6bc042 ircd::db: Add conf item to disable file deletion on open; add to -safe mode diagnostic. 2021-01-04 01:12:49 -08:00
Jason Volk
446f319391 ircd::ctx::posix: Trapdoor complex allowing real pthreads to work again. 2021-01-04 01:12:49 -08:00
Jason Volk
e37a775e9b ircd::ctx::posix: Add interface to toggle hook; split header internal/external. 2021-01-04 01:12:39 -08:00
Jason Volk
30d7c11db7 ircd:Ⓜ️:presence: Add prefetch() to interface. 2020-12-28 19:33:14 -08:00
Jason Volk
b9832c3a9e modules/client/search: Implement c2s r0.6.1 13.15.1.1 /client/search (closes #20). 2020-12-28 03:44:21 -08:00
Jason Volk
67448469ae ircd:Ⓜ️:event::append: Add visibility query support w/ option. 2020-12-28 02:01:26 -08:00
Jason Volk
9efe14ba6d ircd:Ⓜ️:event::append: Support event_filter in options; minor reorg. 2020-12-28 02:01:26 -08:00
Jason Volk
e51ddb1ee6 ircd:Ⓜ️:filter: Modernize some match conditions; use non-throwing queries. 2020-12-28 02:01:26 -08:00
Jason Volk
16ce9a820e ircd::client: Add write overload for iov arguments. 2020-12-25 07:30:10 -08:00
Jason Volk
6987e30cf6 ircd::server: Add conf items for peer socket options. 2020-12-25 07:30:10 -08:00
Jason Volk
2c48499db7 ircd::server: Add sock_opts in peer open_opts; move constant; minor cleanup. 2020-12-25 06:44:31 -08:00
Jason Volk
75a88976dc ircd::resource: Add TCP_NODELAY flush opportunity at completion boundary. 2020-12-25 05:33:59 -08:00
Jason Volk
227ba21341 ircd::resource: Add DELAYED_ACK flag to method; support TCP_QUICKACK opportunity. 2020-12-25 05:33:59 -08:00
Jason Volk
a63fcfa5b4 ircd::net: Add interface to TCP_QUICKACK if supported. 2020-12-25 05:33:59 -08:00
Jason Volk
44bee11fc0 ircd::resource::response: Add flush/push option to chunked::finish(). 2020-12-24 18:09:31 -08:00
Jason Volk
f30c5f381b ircd::net: Add tools to query socket write buffering related. 2020-12-24 18:09:30 -08:00
Jason Volk
7e81806f29 ircd::net: Minor reorg available()/readable() into read.h. 2020-12-24 18:09:30 -08:00
Jason Volk
9523e3ca0a ircd::simd: Fix AVX512 devectorization on clang w/ uninitialized across loops. 2020-12-23 22:28:41 -08:00
Jason Volk
7cdf1330d4 ircd::ios: Add comments on dispatch related. [ci skip] 2020-12-23 22:28:41 -08:00
Danilo Spinella
d8ff6172ef ircd/ctx/posix.h: Add typedef for __clockid_t to fix build on musl
__clockid_t is not POSIX, add it as a typedef to clockid_t, when needed.
2020-12-23 03:56:43 -08:00
Jason Volk
78cbd244c4 ircd::db: Lower the global write mutex to database instance member. 2020-12-23 03:56:43 -08:00
Jason Volk
1f164304a6 ircd::db::prefetcher: Integrate ticker items into ircd::stats system. 2020-12-23 03:56:43 -08:00
Jason Volk
9f0c081ac8 ircd::stats: Add signed integer, chrono specializations; use panic exception. 2020-12-23 03:56:43 -08:00
Jason Volk
dfa75cd421 ircd::stats: Abstract items into templates w/ special instantiations. 2020-12-23 03:56:43 -08:00
Jason Volk
d6d518666e ircd::db: Inline various undersized; mark un-inlinable for hot section. 2020-12-23 03:56:43 -08:00
Jason Volk
e53ed1f6a8 ircd::db: Split column from column::iterator headers. 2020-12-23 01:07:45 -08:00
Jason Volk
eb18ae9daf ircd:Ⓜ️ Add argument to toggle sigs in m::essential(). 2020-12-22 18:40:30 -08:00
Jason Volk
770088d677 ircd::util: Add a non-atomic compare_exchange(). 2020-12-21 00:44:14 -08:00
Jason Volk
07ec766ff9 ircd::ios: Consolidate dispatch/post/defer interfaces; minor fixes. 2020-12-20 06:02:50 -08:00
Jason Volk
59d4b987b5 ircd:Ⓜ️:vm: Add array-wide reference event_id pre-prefetcher. 2020-12-19 22:53:13 -08:00
Jason Volk
6c71ec39b2 ircd:Ⓜ️ Parallel event::idx convenience for event::auth; simplify definitions. 2020-12-19 22:53:12 -08:00
Jason Volk
7d1de2ded7 ircd::ios: Torch any possible idiv in core epoll(2) instruction stream. 2020-12-18 19:58:51 -08:00
Jason Volk
9655a6311f ircd: Simplify the async main init fiasco w/ continuation callback. 2020-12-18 17:41:26 -08:00
Jason Volk
f7945918c6 ircd::stats: Use vector for item iteration; add name convenience member. 2020-12-18 04:04:01 -08:00
Jason Volk
5ee8405117 ircd::resource: Integrate method stats into ircd::stats. 2020-12-18 02:45:03 -08:00
Jason Volk
1f2abfb64a ircd::ios: Integrate descriptor::stats into ircd::stats system. 2020-12-18 02:42:07 -08:00
Jason Volk
e80629c914 ircd: Rename all ios::descriptors w/ consistent dot namespacing.
ircd: Hoist various ios::descriptors out of function-static duration.
2020-12-18 02:42:07 -08:00
Jason Volk
af59cc1378 ircd::fs::aio: Integrate stats structure into ircd::stats system. 2020-12-18 02:42:07 -08:00
Jason Volk
3eb664bbe9 ircd::stats: Use trapping exception for developer errors. 2020-12-18 02:41:56 -08:00
Jason Volk
253de07229 ircd::fmt: Use trapping exceptions for developer error types. 2020-12-17 20:23:50 -08:00
Jason Volk
34e1dc99a1 ircd::stats: Add value assignment passthru semantic to item. 2020-12-17 20:14:27 -08:00
Jason Volk
018f2655b6 ircd:Ⓜ️:acquire: Add divulgence acquisition algorithm to suite. 2020-12-17 01:49:20 -08:00
Jason Volk
159bebbd26 ircd:Ⓜ️:event: Add more ergonomic bulk id/idx extraction interface. 2020-12-17 01:49:09 -08:00
Jason Volk
7a11acbacd ircd:Ⓜ️:event: Separate out event::auth from event::prev header, unit, callsites. 2020-12-16 21:39:08 -08:00
Jason Volk
c3f0f37b30 ircd:Ⓜ️:vm: Add phase to reject events not needed by any local user. 2020-12-16 14:41:17 -08:00
Jason Volk
dfcf032b96 ircd:Ⓜ️:vm: Additional comments; minor simplifications. 2020-12-16 14:41:17 -08:00
Jason Volk
e1e8286436 ircd:Ⓜ️:event: Add bool argument to skip verify restringify. 2020-12-16 14:41:17 -08:00
Jason Volk
6f66ff5bac ircd::resource::response::chunked: Support user-supplied buffer constructions. 2020-12-15 16:56:07 -08:00
Jason Volk
e71c89fa86 ircd:Ⓜ️:vm: Support output/error transcription to evaluator json::stack. 2020-12-15 16:56:07 -08:00
Jason Volk
6696693f8b ircd::ios: Add legit framework for core loop optimizations. (related 7df5592ebe) 2020-12-14 00:36:32 -08:00
Jason Volk
a10429c15f ircd: Improve terminate interface; simplify impl. 2020-12-13 10:45:34 -08:00
Jason Volk
9ca664d231 ircd::ios: Split headers into directory; minor reorg.
ircd::ios: Move profile constexprs into namespace.
2020-12-13 08:29:29 -08:00
Jason Volk
e91c845de5 ircd::ctx: Minor move misplaced comment. [ci skip]
ircd:Ⓜ️:acquire: Remove stale comment. [ci skip]
2020-12-12 18:18:28 -08:00
Jason Volk
af102fcab6 ircd::ios: Increase descriptor name width in debuglog. 2020-12-12 00:35:36 -08:00