0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-01 03:18:54 +01:00
Commit graph

6015 commits

Author SHA1 Message Date
Jason Volk
5ce08521d5 ircd::net::dns: Perturb the minimum TTL to avoid groupings on expiration. 2022-08-12 16:08:56 -07:00
Jason Volk
f9dffbfcbc ircd::resource::method: Fix condition wait without context. 2022-08-10 18:20:52 -07:00
Jason Volk
d978a02b91 ircd::rfc3986: Fix errant signed integer check w/ qi::int_parser. 2022-08-02 13:24:26 -07:00
Jason Volk
cd4b1714d9 ircd::rfc3986: Fix grammar throwing out of url::decode_unsafe(). 2022-08-02 13:18:58 -07:00
Jason Volk
1f947f982c ircd::gpt: Cache pipe::code instance in shared_ptr for task reuse. 2022-07-31 02:46:05 -07:00
Jason Volk
e38825030f ircd::db: Add descriptor field for level0 compaction trigger. 2022-07-29 22:30:09 -07:00
Jason Volk
3b967b6746 ircd::mods: Add conf item for static dtor check; remove redundant debuglog. 2022-07-27 17:36:50 -07:00
Jason Volk
69dcd7acd9 ircd::mods: Eliminate RTLD_DEEPBIND by linking modules -Bsymbolic. 2022-07-27 16:22:42 -07:00
Jason Volk
2aa0986fb1 ircd::mods: Skip unload for instances w/ null headers or unconstructed. 2022-07-27 15:40:12 -07:00
Jason Volk
5506335502 ircd::mods: Fix reference to temporary (GCC). 2022-07-27 15:11:07 -07:00
Jason Volk
c002e03242 configure: Add PROFILE_USE conditional and subst. 2022-07-27 14:32:47 -07:00
Jason Volk
9f22edf3a4 ircd::mods: Add conf item to bypass mapi check on load. 2022-07-27 10:20:02 -07:00
Jason Volk
85f5dda7e1 ircd::ctx: Fixes for boost 1.76 asio API changes. 2022-07-25 12:31:18 -07:00
Jason Volk
3068466175 ircd::versions: Declare list specialization; noexcept ctors; minor cleanup. 2022-07-20 18:32:38 -07:00
Jason Volk
065343069a Fix -flto flag compat erosion w/ gcc. 2022-07-20 12:03:59 -07:00
Jason Volk
741c211848 configure: Add conditional flags for forced pch w/ clang. 2022-07-20 09:56:22 -07:00
Jason Volk
216a2b64cb Move -include arguments to preprocessor flags. 2022-07-20 09:56:22 -07:00
Jason Volk
3a5f7e0aac ircd::resource: Implement more complex path routing. 2022-07-20 09:56:22 -07:00
Jason Volk
432f38cd06 ircd: Add tokens_split() tool w/ skip feature. 2022-07-19 14:26:23 -07:00
Jason Volk
b637eb0c50 ircd::rfc3986: Fix missing exception translation. 2022-07-19 14:26:23 -07:00
Jason Volk
b2d451b74d ircd: Add branchless optimistic assertion instrument --with-assert=opt 2022-07-18 16:58:02 -07:00
Jason Volk
65243a3410 ircd::ios: Fault handler error log; current exception in msg. 2022-07-18 16:58:02 -07:00
Jason Volk
6ef8bf28ef ircd::stringops: Fix string to string replacement error. 2022-07-18 16:58:02 -07:00
Jason Volk
93a7575352 ircd:Ⓜ️:resource: Abstract request::version to ircd::request::agent. 2022-07-18 16:58:02 -07:00
Jason Volk
24cf3569a9 ircd::resource: Deinline request aggregate ctor. 2022-07-18 16:58:02 -07:00
Jason Volk
378b9b3acf ircd::resource: Replace resources map with instance_map. 2022-07-18 16:58:02 -07:00
Jason Volk
ff8c1e92ae ircd::allocator::incore: Handle null buffer case without throwing. 2022-07-13 23:03:55 -07:00
Jason Volk
b389ae04e4 ircd::resource: Fix use after move. 2022-07-13 22:48:14 -07:00
Jason Volk
0725db0431 ircd::json: Add prepend/append tools for arrays. 2022-07-13 22:48:14 -07:00
Jason Volk
084bef0579 ircd::db: Fix additional db::prefetcher shutdown. (related cd15c17499) 2022-07-13 22:48:14 -07:00
Jason Volk
ea68ccdda1 ircd::db: Use lower level0 compaction trigger to reduce read amp. 2022-07-11 15:08:17 -07:00
Jason Volk
305c6e8075 ircd::db: Move allocator log debug to separate define; use constexpr. 2022-07-11 14:47:34 -07:00
Jason Volk
6ce5ab5b1d ircd::conf: Add environ() to interface; minor cleanup/reorg. 2022-07-11 12:53:25 -07:00
Jason Volk
8f8cb10980 ircd::lex: Fix erroneous and-predicate for is/test grammars. 2022-07-09 17:19:40 -07:00
Jason Volk
1fb853dd83 Makefile: Incremental format for remaining flags and targets. 2022-07-09 15:00:58 -07:00
Jason Volk
94e4891187 ircd::db: Add version for manifest write feature; enable reflection.
ircd::db: Add version for WAL full feature w/ reflection.

ircd::db: Add version for no-WAL manifest write error w/ reflection.

ircd::db: Add version for featured IO_MID/IO_USER levels w/ reflection.

ircd::db: Add version for Change Temperature compaction reason w/ reflection.

ircd::db: Add version for Fixed Blob GC compaction reason w/ reflection.
2022-07-09 13:43:17 -07:00
Jason Volk
22c6baeef7 ircd::db: Cleanup reflection table typedefs. 2022-07-09 13:43:17 -07:00
Jason Volk
cd15c17499 ircd::db: Fix prefetcher inhibiting some clean shutdowns. 2022-07-08 17:46:35 -07:00
Jason Volk
09021ac28b ircd::exception: Move throwing errno+system_category out-of-line. 2022-07-08 11:39:45 -07:00
Jason Volk
18b3b58709 ircd::net::acceptor: Add filter instance stub to listener. 2022-07-08 10:45:33 -07:00
Jason Volk
d3584274ac ircd::net::bpf: Add preliminary epbf support. 2022-07-08 10:45:33 -07:00
Jason Volk
11e75db293 ircd::net: Add filter attach/detach to socket option suite. 2022-07-07 16:47:55 -07:00
Jason Volk
079e273355 ircd: Upgrade to std::filesystem from boost::filesystem. 2022-07-07 16:47:55 -07:00
Jason Volk
3451a989ac Add noexcept to various lambdas (gcc-12). 2022-07-07 16:47:55 -07:00
Jason Volk
7d60b6fddc ircd::server: Ensure throwing in case error is set w/o exception; minor cleanup. 2022-07-05 13:01:58 -07:00
Jason Volk
8ba5548a2e ircd::mods: Improve paths encapsulation; fix warning. (gcc-12) 2022-07-04 22:25:18 -07:00
Jason Volk
6a5e7acee1 ircd::lex: Explicit uninitialized initialization for -Wmaybe-unitialized (gcc-12).
ircd::net: Explicit uninitialized initialization for -Wmaybe-unitialized (gcc-12).
2022-07-04 22:25:18 -07:00
Jason Volk
613e309d7e ircd::lex: Require tight input strings for conversion to integral. 2022-07-04 22:25:18 -07:00
Jason Volk
f584ee0d2c ircd::info: Minor cleanup/formatting w/ hex literals; fix warnings (gcc-12). 2022-07-04 22:25:18 -07:00
Jason Volk
32d92b96ca ircd::db::prefetcher: Additional debuglog in shutdown sequence. 2022-07-02 21:39:11 -07:00
Jason Volk
3a3da12051 ircd::server::request: Even more granular log facilities for request/response. 2022-07-02 18:10:38 -07:00
Jason Volk
7cb4e7a9d1 ircd::json: Use lowercase escaped control unicodes per matrix canonical. 2022-07-02 14:32:01 -07:00
Jason Volk
94a6cd0d90 ircd::db: Simplify options wrappings; eliminate bitflags. 2022-07-02 12:42:09 -07:00
Jason Volk
6d2da3b4f1 ircd::gpt::task: Refactor generator interface to member functions. 2022-07-01 20:17:56 -07:00
Jason Volk
56d944f33e ircd::gpt::vocab: Add space-prefix convenience argument. 2022-07-01 17:36:45 -07:00
Jason Volk
08d39efca6 ircd::net: Fix double-jumps through interface glues; internalize symbols. 2022-07-01 13:36:04 -07:00
Jason Volk
a013674beb ircd::net: Fix undefined reinterpret pun. 2022-07-01 13:32:55 -07:00
Jason Volk
81b6c7b003 ircd::buffer: Hoist null_buffer to inline variable; move buffers typedefs. 2022-07-01 09:49:44 -07:00
Jason Volk
d68f261036 ircd::gpt::pipe: Simplify init/fini w/ run::level::QUIT handler. 2022-06-30 16:04:31 -07:00
Jason Volk
69ca5e3395 ircd::gpt: Fix fs::fd/map options regressions. 2022-06-30 15:55:23 -07:00
Jason Volk
bd00907922 ircd::json: Allow literal null for array/object ::empty(); inline. 2022-06-30 14:21:50 -07:00
Jason Volk
642165a8bd ircd::util: Refactor tuple tools w/ if constexpr; remove until(). 2022-06-30 14:21:50 -07:00
Jason Volk
8a20079122 ircd::db: Simplify ABI version detection; remove extern symbols. 2022-06-29 18:31:35 -07:00
Jason Volk
8b6679c5e9 ircd::ctx::dock: Eliminate inlined template complex; optimize linkages. 2022-06-29 18:20:46 -07:00
Jason Volk
29b0523dfc ircd::ios: Consolidate notification interface for now; add atexit related. 2022-06-29 18:20:46 -07:00
Jason Volk
c664963e8d ircd: Fix possible null directive arguments (-Wformat-truncation gcc-11). 2022-06-29 14:59:57 -07:00
Jason Volk
5a4a395fc2 Add noexcept to various lambdas (gcc-11). 2022-06-29 14:42:42 -07:00
Jason Volk
b677eeb4b7 Allow various unsigned conversions.
construct: Fix comparison signedness warning.
2022-06-29 14:21:36 -07:00
Jason Volk
08fce729c5 Fix redundant moves (gcc-11). 2022-06-29 13:26:01 -07:00
Jason Volk
9914fe33d1 ircd::rfc3896: Eliminate throwing expectations for port suffix grammars. 2022-06-28 22:43:48 -07:00
Jason Volk
2d3fe97fe9 ircd::db::database: Fix fdelections() call in read-only mode; minor cleanup. 2022-06-28 22:43:48 -07:00
Jason Volk
dfba309423 ircd::mods: Relax pimpl symbol visibility (regression e09a48ec7e gcc-9) 2022-06-28 17:42:49 -07:00
Jason Volk
a0071c7956 ircd::db::database::env: Replace panic throws into noexcepts. 2022-06-28 12:37:13 -07:00
Jason Volk
55f83976d6 ircd::ctx: Truncate comment; explain why interposition was made. [ci skip] 2022-06-28 12:37:13 -07:00
Jason Volk
45effc15d8 ircd::buffer: Fix warning from dependent type munge (gcc-11).
ircd:Ⓜ️:fetch: Fix non-trivial aggregate (gcc-10).

ircd::ctx::ole: Fix anonymous may be used uninitialized (gcc-11).
2022-06-28 12:37:13 -07:00
Jason Volk
110610f774 ircd:Ⓜ️ Tweak symbol related linkflags for library.
Fix $EXTRA_ flags placement; improve Makefile formatting.
2022-06-24 21:31:05 -07:00
Jason Volk
4bf297e5e7 Revert "ircd::db::database::env: Reduce file size system calls with cache pattern."
This reverts commit 671120415f.
2022-06-23 14:23:51 -07:00
Jason Volk
d5c6314f1a ircd: Split info::versions into header/unit. 2022-06-23 10:50:48 -07:00
Jason Volk
65d27f327e ircd::db::database::env: Fix missing at-end semantics for ReopenWritableFile(). 2022-06-23 09:38:46 -07:00
Jason Volk
61d558fc9d ircd: Define all IRCD_USE_ as integers for constexprs. 2022-06-23 09:36:44 -07:00
Jason Volk
ee59e76305 ircd::http: Fix headers view parse to cover expected trailing crlf. 2022-06-22 15:33:38 -07:00
Jason Volk
01c2c55054 ircd::http: Simplify line ctor; move eoi into grammar. 2022-06-22 15:31:46 -07:00
Jason Volk
e70d26b23e ircd::net::dns: Allow undefined symbol ignored null by libnss_db. 2022-06-22 11:04:36 -07:00
Jason Volk
830a5b9d2a ircd::mods::ldso: Improve interposition of exceptions for runtime behavior switching. 2022-06-22 11:04:18 -07:00
Jason Volk
7b2af2cf1c ircd::png: Exclude dependent functions when build missing libpng. 2022-06-21 22:31:55 -07:00
Jason Volk
3b9031fef5 ircd::allocator: Fix conflicting hook declarations for GNU allocator. 2022-06-20 18:36:11 -07:00
Jason Volk
a71deec959 ircd:🆑 Clarify and improve complex cast (gcc-8). 2022-06-20 18:24:55 -07:00
Jason Volk
796058d8e9 ircd::db: Remove deprecated seqnum; related 58a346f18b. 2022-06-20 18:24:55 -07:00
Jason Volk
d36024cdb8 ircd::allocator: Support mallinfo2() for deprecated mallinfo(3) for GNU allocator. 2022-06-20 18:24:55 -07:00
Jason Volk
e6ace21eda ircd:🆑 Fix conf item value extraction (gcc-9). 2022-06-19 22:05:21 -07:00
Jason Volk
30d7c4649c ircd::db: Extract stats value before debug logging (gcc-8). 2022-06-19 20:57:46 -07:00
Jason Volk
e403c20cc6 ircd::fs::aio: Split max events query into init method. 2022-06-19 20:27:13 -07:00
Jason Volk
56bbc04527 ircd::fs::map: Add ergonomic trailing-opts ctor. 2022-06-19 20:27:13 -07:00
Jason Volk
b815ac8bec ircd::fs: Eliminate user-defined ctors on various opts for designated inits. 2022-06-19 20:27:13 -07:00
Jason Volk
0300a29f9c ircd::mods::ldso: Attribute compatibility for gcc-8. 2022-06-19 20:14:23 -07:00
Jason Volk
5faadaa000 ircd::http: Fix binary op (gnu++20). 2022-06-19 20:14:23 -07:00
Jason Volk
78848925ee ircd::gpt: Various refactoring. 2022-06-19 20:14:22 -07:00
Jason Volk
85aa4bd8c6 ircd::http: Adjust grammar for cloudflare. 2022-06-17 21:34:02 -07:00
Jason Volk
0c281f10d0 ircd::rfc3986: Move encoder/decoder into parser ns; fix karma::grammar. 2022-06-17 21:34:02 -07:00
Jason Volk
398c1d2213 ircd::http: Optimize expressions; modernize grammars; minor cleanup. 2022-06-17 21:34:02 -07:00
Jason Volk
23b1ea516c ircd::json: Optimize expressions; modernize grammars; various cleanup. 2022-06-17 21:34:02 -07:00
Jason Volk
58718dd3b2 ircd::net::dns::service: More quick defaults; add conf item; conditional query. 2022-06-17 21:11:54 -07:00
Jason Volk
63191f736c ircd::magick: Fix debug log msg missing facility. 2022-06-17 21:11:54 -07:00
Jason Volk
445fe80d75 ircd::db::database::cache: Add constant conditional verbose debug log msgs. 2022-06-17 21:11:54 -07:00
Jason Volk
6fd08ba0a3 ircd::db: Use if constexpr for verbose seek debug log. 2022-06-17 21:11:54 -07:00
Jason Volk
671120415f ircd::db::database::env: Reduce file size system calls with cache pattern. 2022-06-17 21:11:54 -07:00
Jason Volk
58a346f18b ircd::db: Deprecate gopts::seqnum/iter_start_seqnum per RocksDB 7.x. 2022-06-17 21:11:54 -07:00
Jason Volk
9d0d45294c ircd: Attribute static dtors worthy of running to cleanup memcheck reports. 2022-06-17 21:11:54 -07:00
Jason Volk
4a18caf245 ircd::vg: Add template convenience defined(); improve call interface. 2022-06-17 21:11:54 -07:00
Jason Volk
f40b77c307 ircd::rfc3986: Simplify typedef; simplify pragma/linkage. 2022-06-17 21:11:54 -07:00
Jason Volk
ef7065fe88 ircd::db: Upgrade rocksdb::port verbose debug approach to if constexpr. 2022-06-17 21:11:54 -07:00
Jason Volk
4ae50c97d1 ircd: Various symbol internalizing and PLT reductions. 2022-06-17 21:11:54 -07:00
Jason Volk
e09a48ec7e ircd::mods: Reorg internal header w/ unit; internalized pimpls. 2022-06-17 21:11:54 -07:00
Jason Volk
169eda8da4 ircd::client: Encapsulation related reorg; still needs more work. 2022-06-17 21:11:54 -07:00
Jason Volk
8338eb0ae2 ircd::db::database::events: Log level WARNING for aborting table file create. 2022-06-17 21:11:54 -07:00
Jason Volk
c6e1f6c019 ircd::json: Fix reinterpret cast into ctrl_tab; cond uninit warning. 2022-06-17 21:11:54 -07:00
Jason Volk
7cdd798958 ircd: Ensure initialized values in conditionals (pedantic; llvm). 2022-06-17 21:11:54 -07:00
Jason Volk
df3304005a ircd: Properly scope various visibility/linkages. 2022-06-17 21:11:54 -07:00
Jason Volk
858fb6c33a configure: Preliminaries for swappable ld.gold and ld.lld. 2022-06-17 21:11:54 -07:00
Jason Volk
7356a0c2b1 ircd::mods::ldso: Use nullptr_t; add prototype for _dl_signal_exception(). 2022-06-17 21:11:54 -07:00
Jason Volk
0aeaae9584 ircd::http: Remove switch default to precipitate unhandled warning. 2022-06-17 21:11:54 -07:00
Jason Volk
0b1ff31cd7 ircd: Add DT_NEEDED for libpng to resolve references. 2022-06-17 21:11:54 -07:00
Jason Volk
dd5d122bae ircd::util: Use long double literals to indicate promotion intent (pedantic). 2022-06-17 21:11:54 -07:00
Jason Volk
4e5002eb43 ircd::openssl: Fix argument narrowing from default constants. 2022-06-17 21:11:54 -07:00
Jason Volk
7bc7703a7b ircd::db::database::sst: Disable sst tool due to linkage variance between versions. 2022-06-17 21:11:54 -07:00
Jason Volk
f68e4886e8 ircd::json: Hoist various thread-locals for merging. 2022-06-17 21:11:54 -07:00
Jason Volk
4d501569bc ircd::fmt: Optimize static expression grammars. 2022-06-17 21:11:54 -07:00
Jason Volk
ba06a52368 ircd::rfc3986: Add public rule abstracting uri_parse construction. 2022-06-17 21:11:54 -07:00
Jason Volk
6f0f6a46ac ircd::rfc3896: Branch optimizations for convenience suite. 2022-06-17 21:11:54 -07:00
Jason Volk
dd4e354375 ircd::rfc3986: Additional spirit related fixes/dressings. 2022-06-17 21:11:54 -07:00
Jason Volk
83cb332216 ircd: Fix various grammars for karma rule interposition. 2022-06-17 21:11:54 -07:00
Jason Volk
401f61e564 ircd::json: Remove unit linkages for constant expression values. 2022-06-17 21:11:54 -07:00
Jason Volk
68db7cf9e2 ircd::allocator::je: Minor cleanup; consistent defs; simplify casts; remove tiny tls. 2022-06-17 21:11:53 -07:00
Jason Volk
35e8d83d45 ircd::db: Fix bitwise-instead-of-logical warning. 2022-06-17 21:11:53 -07:00
Jason Volk
4821f6d2db ircd: Move any externally used interfaces out of init objects. 2022-06-17 21:11:53 -07:00
Jason Volk
e51b855f2b ircd: Various symbol surface reductions and sorting. 2022-06-17 21:11:53 -07:00
Jason Volk
04558290c0 ircd: Toward improving cold/unlikely section population. 2022-06-17 21:11:53 -07:00
Jason Volk
f5d3da8d3f ircd: Add hours/minutes to lex_cast specialization suite. 2022-06-17 21:11:53 -07:00
Jason Volk
c4bc8d1cc0 ircd: Cleanse default.proftext; ICP for grammars no longer requires PGO. 2022-06-17 21:11:53 -07:00
Jason Volk
d3ea771699 ircd::fmt: Encapsulate specifier registry; minor comments; cleanup/reorg. 2022-06-17 21:11:53 -07:00
Jason Volk
8788292bda ircd::lex: Hoist parser rules to eliminate indirect calls. 2022-06-17 21:11:53 -07:00
Jason Volk
1055d66f94 Modernize various parser grammars; remove empty ctors. 2022-06-17 21:11:53 -07:00
Jason Volk
19ede0f625 ircd::json: Remove unnecessary global object linkage. 2022-06-17 21:11:53 -07:00
Jason Volk
be8bb88358 ircd::http: Move insignificant TLS buffer to stack. 2022-06-17 21:11:53 -07:00
Jason Volk
3d672ab9bc Rename common instance variables of window_buffer for clarity. 2022-06-17 21:11:53 -07:00
Jason Volk
ef32565d66 ircd: Simplify w/ ::snprintf for mostly static init callpaths. 2022-06-17 21:11:53 -07:00
Jason Volk
0540d16084 ircd::gpt::pipe::code: Promote debuglog messages to release visible. 2022-06-17 21:11:53 -07:00
Jason Volk
67c3c63832 ircd:🆑 Improve link debuglog; throw at runtime when not available. 2022-06-17 21:11:53 -07:00
Jason Volk
c4d71701b8 ircd:🆑 Mute kernel debug info; mostly zeros from driver. 2022-06-17 21:11:53 -07:00
Jason Volk
2f790baae0 ircd:🆑 Allow relative region offset for constructions. 2022-06-17 21:11:53 -07:00
Jason Volk
19210277a2 ircd:🆑:data: Add master() method for associated memobject. 2022-06-17 21:11:53 -07:00
Jason Volk
ea5241615f ircd::fs: Simplify internal naming; remove comments. 2022-06-17 21:11:53 -07:00
Jason Volk
a600d59367 ircd::allocator: Reinterface for attributed function instrumentation. 2022-06-17 21:11:53 -07:00
Jason Volk
0fbbf1853f ircd::tokens: Simplify interface argument passing. 2022-06-17 21:11:53 -07:00
Jason Volk
5a995f4bac ircd::tokens: Optimize character tokenizer impls. 2022-06-17 21:11:53 -07:00
Jason Volk
bf36da742b ircd:🆑 Fix warp size query related; stop propagation w/ log. 2022-06-17 21:11:53 -07:00
Jason Volk
f9c3a617d2 ircd:🆑 Improve version banner; parse numeric. 2022-06-17 21:11:53 -07:00
Jason Volk
41c6c35b4c ircd::simd: De-inline output sink portion of print template. 2022-06-17 21:11:53 -07:00
Jason Volk
f47b007645 ircd::ios: Log message for descriptor dtor leak checks. 2022-06-17 21:11:53 -07:00
Jason Volk
42c26fbbb7 ircd::ios: Relax descriptor queued count check on dtor. 2022-06-17 21:11:53 -07:00
Jason Volk
3d2994d271 ircd:🆑 Fix code::link() leaking program object. 2022-06-17 21:11:53 -07:00
Jason Volk
d2833cb3e2 ircd:🆑 Improve code object semantics; handle related. 2022-06-17 21:11:53 -07:00
Jason Volk
6033f18694 ircd:🆑 Relax runlevel requirement for memory operations. 2022-06-17 21:11:53 -07:00
Jason Volk
acb188a2ec ircd:🆑 Minor remove cruft. 2022-06-17 21:11:53 -07:00
Jason Volk
e0d63bd000 ircd:🆑 Use acq_rel as invalidate semantic. 2022-06-17 21:11:53 -07:00
Jason Volk
bef8a320d8 ircd:🆑 Disable radeon queue thread. 2022-06-17 21:11:53 -07:00
Jason Volk
b62c4205a3 ircd::fmt: Add floating point notation format policy. 2022-06-17 21:11:53 -07:00
Jason Volk
400b306833 ircd::gpt::pipe: Split pipe::code into separate unit. 2022-06-17 21:11:53 -07:00
Jason Volk
f5fb03b1b5 ircd:🆑:code: Add construction for IL. 2022-06-17 21:11:53 -07:00
Jason Volk
77046c853e configure: Add xxd; add bc.cc to .gitignore; remove empty gitignore. 2022-06-17 21:11:53 -07:00
Jason Volk
90d4d8248c configure: Add -ljemalloc to LIBS; fix byzantine allocator linkages. 2022-06-17 21:11:53 -07:00
Jason Volk
2106263dd4 ircd::buffer: Adorn out-of-line asio glue with noexcept. 2022-06-17 21:11:53 -07:00
Jason Volk
3e7875e314 ircd:🆑 Inline various move semantics; fix data::mapped move. 2022-06-17 21:11:53 -07:00
Jason Volk
1a29e591ef ircd:🆑 Isolate pthread enable hooking during init/finit. 2022-06-17 21:11:53 -07:00
Jason Volk
317577d6eb ircd::fs: Indicate no write-life hint support while executing in valgrind. 2022-06-17 21:11:53 -07:00
Jason Volk
3b6a63b2c0 ircd::allocator: Bypass mlock() in valgrind. 2022-06-17 21:11:53 -07:00
Jason Volk
b4e4c06890 ircd:🆑 Refactor interface for map-only/zero-copy approach. 2022-06-17 21:11:53 -07:00
Jason Volk
aba8b6813e ircd:🆑 Remove the host ptr conf item for now. 2022-06-17 21:11:53 -07:00
Jason Volk
b3d2c95474 ircd:🆑 Tweak device unit banner. 2022-06-17 21:11:53 -07:00
Jason Volk
9fb199ecf7 ircd:🆑 Add data maps/refs counts to interface wrapping. 2022-06-17 21:11:53 -07:00
Jason Volk
5a9a5e1094 ircd:🆑 Fix bug. (d69f8ffb9c) 2022-06-17 21:11:53 -07:00
Jason Volk
fd39de53f4 ircd:🆑 Split header into directory; minor reorg. 2022-06-17 21:11:53 -07:00
Jason Volk
729092d410 ircd:🆑 Cleanup / split library linkage to private memfun; bind now.
Bind now to prevent issues from lazy binding on different threads and
when overriding with custom builds of mesa/icd.
2022-06-17 21:11:53 -07:00
Jason Volk
95c4e0af52 ircd:🆑 Simplify data interface related for now. 2022-06-17 21:11:53 -07:00
Jason Volk
5f7fff3646 ircd:🆑 Allow null handle for no-wait completion. 2022-06-17 21:11:53 -07:00
Jason Volk
97f3f232ca ircd:🆑 Improve naming of non-task transfer commands. 2022-06-17 21:11:53 -07:00
Jason Volk
c9796fa9e0 ircd:🆑 Allow optional map closures; add write invalidate flag from cl1.2. 2022-06-17 21:11:53 -07:00
Jason Volk
eb523a598b ircd:🆑 Improve initialization compat/errors/info related. 2022-06-17 21:11:53 -07:00
Jason Volk
7a0b169375 ircd:🆑 Increase version buffer width; stop propagation per device. 2022-06-17 21:11:53 -07:00
Jason Volk
b0c9c9f8b2 ircd:🆑 Add work_completes accumulator to stats. 2022-06-17 21:11:53 -07:00
Jason Volk
24b6ee8f57 ircd:🆑 Add non-throwing 'maybe' feature for CL info/call templates. 2022-06-17 21:11:53 -07:00
Jason Volk
af4d722ec3 ircd::fs: Support anonymous non-descript mapping. 2022-06-17 21:11:53 -07:00
Jason Volk
e68b93fa61 ircd::fpe: Add debug log info; cold sections. 2022-06-17 21:11:53 -07:00
Jason Volk
366289823e ircd::gpt::vocab: Simplify overflow truncation length. 2022-06-17 21:11:53 -07:00
Jason Volk
b7b1328352 ircd::gpt::pipe: Reuse logsm buffer for logexp intermediate values. 2022-06-17 21:11:53 -07:00
Jason Volk
2604f1370a ircd::buffer: Move abstract align/padding tools to ircd::util. 2022-06-17 21:11:53 -07:00
Jason Volk
6843d7a98d ircd::fs: Support more exotic alignments for memory mapped files. 2022-06-17 21:11:53 -07:00
Jason Volk
f8da3a7dd6 ircd: Fix whitespace; fix comment. [ci skip] 2022-06-17 21:11:53 -07:00
Jason Volk
8bb8c19cda ircd::allocator: Add mlock2(2) interface wrapping. 2022-06-17 21:11:53 -07:00
Jason Volk
e9fe4f33bb configure: Check for mprotect(2). 2022-06-17 21:11:53 -07:00
Jason Volk
0b2b243c71 ircd::fs: Extend map interface with flush/sync. 2022-06-17 21:11:53 -07:00
Jason Volk
73cd22c7d0 ircd::allocator: Add msync(2) wrapping. 2022-06-17 21:11:53 -07:00
Jason Volk
13052f7090 ircd:🆑 Elaborate code compile/link build interface for cl1.2+. 2022-06-17 21:11:53 -07:00
Jason Volk
26ce330d6d ircd::gpt: Add layer count to model section of opts. 2022-06-17 21:11:53 -07:00
Jason Volk
c92e97f02a ircd::gpt: Remove unnecessary alignas. 2022-06-17 21:11:53 -07:00
Jason Volk
a7560b5cfc ircd::gpt::pipe::code: Preliminary reorg for legacy NIR build cache. 2022-06-17 21:11:53 -07:00
Jason Volk
8d6496956d ircd::tokens: Allow signed argument for tokens_after() for zeroth token. 2022-06-17 21:11:53 -07:00
Jason Volk
271214ff70 ircd::allocator: Add mprotect(2) wrappings. 2022-06-17 21:11:53 -07:00
Jason Volk
781ead25b5 ircd:🆑 Add shlib path conf. 2022-06-17 21:11:53 -07:00
Jason Volk
5a6cd51530 ircd::ctx::posix: Improve pthread version resolution for dlopen. 2022-06-17 21:11:53 -07:00
Jason Volk
35986844bb ircd::ios: Fixes for boost::asio 1.74+. 2022-06-17 21:11:53 -07:00
Jason Volk
fdb7e108fd ircd: Add glibc malloc hook decls in case missing from malloc.h. 2022-06-17 21:11:53 -07:00
Jason Volk
a8e7a4890f ircd::conf: Add __APPEND/__PREPEND features for non-overwriting from env var. 2022-06-17 21:11:53 -07:00
Jason Volk
c74cfd8088 ircd::conf: Use stringops replace; minor reorg/rename. 2022-06-17 21:11:53 -07:00
Jason Volk
d0a1d32488 ircd::db: Add SST scan interface w/ console suite. 2022-06-17 21:11:52 -07:00
Jason Volk
b6207fac74 ircd:🆑 Add cl_program wrap for source and binary extrication. 2022-06-17 21:11:52 -07:00
Jason Volk
2d36b07f5b ircd:🆑 Relax runlevel check for data xfer items for graceful shutdown. 2022-06-17 21:11:52 -07:00
Jason Volk
1c668b038c ircd:🆑 Move submit blocking watchdog threshold into conf item. 2022-06-17 21:11:52 -07:00
Jason Volk
c643cc7507 ircd: Split compile and assembly of CL object through LLVM bc. 2022-06-17 21:11:52 -07:00
Jason Volk
7fbb66f5a7 ircd: Add missing conditions around clang/opencl tgts. 2022-06-17 21:11:52 -07:00
Jason Volk
0be4c243bb ircd:🆑 Add device fission information to banner. 2022-06-17 21:11:52 -07:00
Jason Volk
e6a71efe8c ircd:🆑 Sample tsc for work item submission for blocking interface mitigations. 2021-10-16 15:24:23 -07:00
Jason Volk
b4fb093876 ircd:🆑 Set completion status on offload thread to assert release propagation. 2021-10-15 11:43:47 -07:00
Jason Volk
9401c206a1 ircd:🆑 Check and throw for unavailability in work item ctor. 2021-10-15 11:40:32 -07:00
Jason Volk
858b56e4fe ircd::gpt::vocab: Fix bug. 2021-10-15 11:40:32 -07:00
Jason Volk
31431d32c5 ircd: Add utility to beep the pcspeaker. 2021-10-06 16:36:52 -07:00
Jason Volk
2df266e3be ircd::gpt::vocab: Improve debug fmtstr. 2021-10-06 13:13:47 -07:00
Jason Volk
8f90e7c0cd ircd::gpt: Optimizations for matrix multiply. 2021-10-06 13:13:47 -07:00
Jason Volk
1be7a8dea2 ircd:🆑 Fix name interface related; copy value string. 2021-10-06 13:13:47 -07:00
Jason Volk
8ffdddf860 ircd:🆑 Improve queue profiling wrapper related. 2021-10-06 13:13:47 -07:00
Jason Volk
85b2256f6b ircd:🆑 Additional bank and channel info banner for AMD's OpenCL 1.2+. 2021-10-06 13:13:47 -07:00
Jason Volk
183ff2138f ircd:🆑 Split out init subs; add semver parse for device api. 2021-10-06 13:13:47 -07:00
Jason Volk
a04cc3c290 ircd:🆑 Split platform info banner out of main init. 2021-10-06 13:13:47 -07:00
Jason Volk
c05e5e09de ircd:🆑 Additional informational interfaces; kernel names; typing. 2021-10-06 13:13:47 -07:00
Jason Volk
aea6c79fc2 ircd::gpt: Add top N and target label result register control block. 2021-10-06 13:13:47 -07:00
Jason Volk
8bd78af128 ircd::gpt: Additional task header/interface simplification. 2021-10-06 13:13:47 -07:00
Jason Volk
c1f3e580c3 ircd::gpt: Add top_p lmhead selector, quantized for now. 2021-10-06 13:13:47 -07:00
Jason Volk
8a3eeb46f9 ircd::gpt::pipe: Optimize pipeline to cache attention state for generations. 2021-10-06 13:13:47 -07:00
Jason Volk
c5f159ad58 ircd::gpt: Cleanup/improve work item related prologues. 2021-10-06 13:13:47 -07:00
Jason Volk
79b6d4b9da ircd::gpt::pipe: Unify descriptor allocations. 2021-10-06 13:13:47 -07:00
Jason Volk
9628585f43 ircd:🆑 Add condition for null size slice construction. 2021-10-06 13:13:47 -07:00
Jason Volk
d0c2674b3e ircd:🆑 Add data::offset() to interface. 2021-10-06 13:13:47 -07:00
Jason Volk
ce9abfb321 ircd::gpt::model: Optimize left-attention mask. 2021-10-06 13:13:47 -07:00
Jason Volk
9ca95591ff ircd::gpt::model: Improve cache open mode related. 2021-09-15 02:37:45 -07:00
Jason Volk
5d837f9e87 ircd:🆑 Increase the device extensions info string receptacle. 2021-09-15 01:44:36 -07:00
Jason Volk
6ea6a003dc ircd::db: ABI fixes for RocksDB v6.19+. 2021-09-15 01:44:36 -07:00
Jason Volk
7cd34cba0a ircd::db: API fixes for RocksDB v6.22+. 2021-09-15 01:44:36 -07:00
Jason Volk
e6e6191e3e ircd::magic: Minor additional branch expect labels. 2021-09-15 01:44:36 -07:00
Jason Volk
a82e7bf280 ircd: Reduce code generated for argument prep in assert block; jump directly to lfence. 2021-09-15 01:44:36 -07:00
Jason Volk
0293924544 ircd::fmt: Add missing float alignment policies. 2021-09-15 01:44:36 -07:00