0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-03 20:22:56 +01:00
Commit graph

5999 commits

Author SHA1 Message Date
Jason Volk
364f7d9c3e ircd::db: Annotate the entire rocksdb API surface noexcept in one fell swoop. 2023-02-22 16:04:11 -08:00
Jason Volk
647babdcbe ircd::db: Consistent interruption masking on rocksdb entry; minor cleanup. 2023-02-22 16:04:11 -08:00
Jason Volk
61f12bb751 ircd::client: Add conf item for pool dispatch flags. 2023-02-21 10:40:00 -08:00
Jason Volk
b1bb516bba ircd::client: Fix conf::item action prior to target initialization. 2023-02-20 20:46:48 -08:00
Jason Volk
34bd1e0709 ircd::ctx::pool: Add option for dispatch strategy; behavior changed by default. 2023-02-20 20:15:44 -08:00
Jason Volk
e961b23d1e ircd::ctx::dock: Add options for waiters; support queuing strategies. 2023-02-20 20:15:44 -08:00
Jason Volk
96d5b6fe57 ircd::ctx::list: Add mid-list insertion suite to interface. 2023-02-20 20:15:44 -08:00
Jason Volk
1627986fed ircd::ctx: Simplify ctx::list abi; tweak hot section. 2023-02-20 18:08:52 -08:00
Jason Volk
c30776fc59 ircd::ctx::pool: Upgrade various opts sites to designated inits; minor inline. 2023-02-19 19:57:14 -08:00
Jason Volk
5a35d63b64 ircd::ctx::dock: Deduplicate prologue/epilogue in wait() suite. 2023-02-19 17:39:32 -08:00
Jason Volk
17f0923eff ircd::db::database::logger: Additional conditions for debug level in any build mode. 2023-02-19 16:06:46 -08:00
Jason Volk
6e33d52bda ircd::db::database: Hide dangerous best_efforts_recovery behind all-caps options. 2023-02-19 13:33:47 -08:00
Jason Volk
06583f7bfb ircd::db::database: Use INFO level for table file closed on shutdown. 2023-02-18 22:19:30 -08:00
Jason Volk
5bd594d165 ircd::json::stack: Split into directory; inlines; abi simplification. 2023-02-18 21:30:11 -08:00
Jason Volk
c78a7e96b9 ircd::ctx: Strict uncaught exception assertion on context switch. 2023-02-18 16:41:33 -08:00
Jason Volk
23c8a6c5cb ircd::db: Shorter paths to valid(iterator); strip noexcept; hot annotate uninlineable. 2023-02-18 16:41:33 -08:00
Jason Volk
6e6afb9d30 ircd::magick: Fix job progress debug log regression. 2023-02-18 16:41:33 -08:00
Jason Volk
716134186e Replace additional #ifdef debug related w/ if constexpr for regression visibility. 2023-02-17 19:10:06 -08:00
Jason Volk
b93348f6e1 ircd: Fix -Wdeprecated-copy-with-user-provided-dtor or remove empty dtors. 2023-02-17 16:51:54 -08:00
Jason Volk
b3ba3eb443 ircd::db: Fix debug constexpr disagreement. (regression 6fd08ba0a3) 2023-02-16 16:21:38 -08:00
Jason Volk
36b85a5c78 ircd::db: Optimize make_opts w/ pre-construction and assumptions for noexcept copy. 2023-02-16 16:17:23 -08:00
Jason Volk
d48e6ccb8d ircd::db::database::snapshot: Minor cleanup; inline, noexcept. 2023-02-16 16:01:02 -08:00
Jason Volk
028c456aca ircd::fs: Fix application of O_CREAT based on our expected fd::opts behavior. 2023-02-13 20:30:46 -08:00
Jason Volk
7320ea0fcb ircd::fs: Relax assertions matching empty file reads on asio path. 2023-02-13 19:58:55 -08:00
Jason Volk
b0217fd371 ircd::json: Eliminate double-references; optimize ABI.
ircd::json: Inline trivial functions; value optimize.
2023-02-12 19:19:56 -08:00
Jason Volk
0b8f1c0a9f ircd: Makefile variables for GPU toolchain. 2023-02-11 15:38:14 -08:00
Jason Volk
b106fe4c9d ircd::db: Fix read opts not passing cache=false. (regression 94a6cd0d90) 2023-02-11 12:31:57 -08:00
Jason Volk
762703698c Replace various #ifdef RB_DEBUG with if constexpr for regression visibility. 2023-02-09 12:11:32 -08:00
Jason Volk
fd6f06c1af Replace various #if 0 with if constexpr for regression visibility. 2023-02-09 11:41:11 -08:00
Jason Volk
90f1dc77fb ircd::client: Remove redundant local endpoint state. (related 1da91f41b3) 2023-02-09 11:41:11 -08:00
Jason Volk
aa8ce19c7c ircd: Internalize various loghead utils; remove legacy ostream operators. 2023-02-09 11:41:11 -08:00
Jason Volk
8e983880f2 ircd::db::prefetcher: Fix loss of notify on db shutdown w/ separate ctx::dock. 2023-02-08 14:28:09 -08:00
Jason Volk
0036111ef1 ircd::server: Optimize peers map w/ allocator::node. 2023-02-08 13:55:53 -08:00
Jason Volk
1da91f41b3 ircd::net: Elide repeated getsockname()/getpeername() w/ cached sockaddrs. 2023-02-08 10:52:02 -08:00
Jason Volk
61348312a8 ircd::net: Modernize remaining unencapsulated socket endpoint queries. 2023-02-07 21:49:50 -08:00
Jason Volk
0b9bb185de ircd::util: Add environment iteration convenience tools. 2023-02-07 20:04:26 -08:00
Jason Volk
6be344ae66 ircd::server: Elide expensive argument (sys)calls when log message muted. 2023-02-06 12:14:45 -08:00
Jason Volk
86df5510d4 ircd::net::dns: Optimize query w/ internal lookup priority when enabled by conf. 2023-02-06 11:58:48 -08:00
Jason Volk
9134684812 ircd::net::dns: Add fallback to internal table if netdb not installed. 2023-02-06 11:55:30 -08:00
Jason Volk
981006d831 ircd::resource::response::chunked: Additional overload for buffer w/o headers; fix comment. 2023-02-05 18:59:00 -08:00
Jason Volk
49bd43e685 ircd::util: Optimize instance_map w/ allocator::node. 2023-02-05 18:46:20 -08:00
Jason Volk
df67d08897 ircd::util: Optimize instance_multimap w/ allocator::node. 2023-02-05 18:45:08 -08:00
Jason Volk
ec74762f01 ircd::b64: Annotate to generate vectorize pass-warning; unroll to force (clang-15). 2023-02-04 13:20:44 -08:00
Jason Volk
027339456b ircd: Suppress clang conditional-uninitialized false positive for b64.lo. 2023-02-04 13:20:44 -08:00
Jason Volk
ea40dcc56b Fix undef var templates for explicit instantiations across units (-Wundefined-var-template). 2023-02-04 13:20:44 -08:00
Jason Volk
d3a125f1d5 ircd::db: Add RoundRobin TTL compaction define and reflection. 2023-02-02 20:42:25 -08:00
Jason Volk
ff67a5d597 ircd::server: Fix peer::sock_nodelay conf item default value type. 2023-02-02 18:51:03 -08:00
Jason Volk
ea66186ef8 ircd::net: Simplify synchronous socket::wait() w/ wait_type translate. 2023-02-02 18:51:03 -08:00
Jason Volk
ecc177aa36 ircd::fs: Minor cleanup unnecessary wait_type translate ornaments. 2023-02-02 18:51:03 -08:00
Jason Volk
5005dea8a4 configure: Apply -Wimplicit-fallthrough. 2023-02-02 18:51:03 -08:00
Jason Volk
89e44ce8e9 ircd: Apply branch expectation attributes to various case labels. 2023-02-02 18:51:03 -08:00
Jason Volk
a308010a1b ircd::json: Fix utf16 surrogate pairing discernment.
ircd::utf16: Fix return value for unused lanes; use sentinel.
2023-01-31 01:48:12 -08:00
Jason Volk
fc0b6bbecb ircd::fs: Assertions for file read length sanity. 2023-01-29 15:34:33 -08:00
Jason Volk
cd53f1b5a4 ircd::ios: Increase width for latency in profile::logging debug fmt. 2023-01-28 17:11:14 -08:00
Jason Volk
dfb4e19848 ircd::fs: Replace reuses of net::eof w/ specific fs::eof. 2023-01-26 14:14:52 -08:00
Jason Volk
600563d272 ircd::conf: Add template lex_cast convenience; limited to bool specialization. 2023-01-19 19:58:23 -08:00
Jason Volk
829e641a48 ircd::conf: Add nothrow overloads to get() suite. 2023-01-19 19:58:23 -08:00
Jason Volk
c2ee855346 ircd::db::database::env: Replace RB_DEBUG_DB_ENV w/ if constexpr. 2023-01-19 19:58:22 -08:00
Jason Volk
bb3576eaaa ircd::ctx: Update stack allocator for official support. (boost-1.80) 2023-01-19 19:58:22 -08:00
Jason Volk
c667987391 ircd: Update x86_64 jump_fcontext stack offset. (boost-1.81) 2023-01-18 12:07:36 -08:00
Jason Volk
6bbde81b44 Ensure EXTRA_*FLAGS is properly appended after other build flags. 2023-01-18 08:11:02 -08:00
Jason Volk
310053abcf ircd::logger: Appease the array-bounds bean counter. 2023-01-15 22:32:00 -08:00
Jason Volk
feb7524fe0 ircd::db::database::events: Use explicitly defined non-sequence index args. 2023-01-15 22:32:00 -08:00
Jason Volk
cbfbe51c35 ircd::net: Replace ifdef w/ constexpr for inclusion. 2023-01-15 22:32:00 -08:00
Jason Volk
f516b86e4d configure: Eliminate clang runtime profiling infrastructure. 2023-01-14 16:44:47 -08:00
Jason Volk
ef23d1e749 ircd::server: Improve exception format strings; add chunk count. 2023-01-13 19:37:49 -08:00
Jason Volk
d377674748 ircd::simt: Split vector reduce_add to hadd. 2023-01-01 19:16:06 -08:00
Jason Volk
521a04730c ircd:🆑 Conf items for device queueing and queue size defaults. 2023-01-01 21:28:54 +00:00
Jason Volk
517f109f3a ircd:🆑:exec: Override local size from reqd_work_group_size attribute. 2022-11-07 01:51:19 +00:00
Jason Volk
231a5305ca ircd:🆑 Additional device banner queries; improve formatting. 2022-11-03 18:28:53 +00:00
Jason Volk
110d4e7b17 ircd::gpt: Remove hostside backprop branch for now; simplify sample tokenizer. 2022-11-03 18:28:53 +00:00
Jason Volk
d5dc477de5 ircd: Minor fix makefile special recipe ordering. 2022-11-03 18:28:53 +00:00
Jason Volk
e8aea6f727 ircd:🆑 Optimize warp size query on AMD platforms supporting CL extension. 2022-11-03 18:28:53 +00:00
Jason Volk
35a994bafb ircd:🆑 Tweak queue properties for profiling exclusive of device queues. 2022-11-03 18:28:53 +00:00
Jason Volk
db549a64ca ircd::gpt: Add values for custom timestamp range to ctrl prof block. 2022-11-03 18:28:53 +00:00
Jason Volk
571271c6a6 ircd::gpt::pipe::code: Simplify source construction. 2022-11-03 18:28:53 +00:00
Jason Volk
601a7a3a6a ircd:🆑:code: Add construction from files and directories. 2022-11-03 18:28:53 +00:00
Jason Volk
5aeadc2d52 ircd:🆑:code: Split createProgram related out of ctors; static iov_max. 2022-11-03 18:28:53 +00:00
Jason Volk
d95718ed6f ircd::fs: Additional convenience tools for path suite. 2022-11-03 18:28:53 +00:00
Jason Volk
561be9973a ircd::simt::norm: Barrier for overlapping input and output buffers. (gfx1011) 2022-11-03 18:28:53 +00:00
Jason Volk
071e108eac ircd: Add amdgcn--amdhsa build recipes. 2022-11-03 18:28:53 +00:00
Jason Volk
ac163274f1 ircd::simt: Simplify keywording; tease out OpenCL version by target. 2022-10-30 18:44:50 +00:00
Jason Volk
e89703aa97 ircd::gpt::gpu: Limit dispatch to the number of control frame buffers. 2022-10-30 18:44:50 +00:00
Jason Volk
2609c21913 ircd::gpt::pipe: Enable mutable model; fixes for backpropagation; range stub. 2022-10-18 22:01:35 +00:00
Jason Volk
47117dde9a ircd::gpt::model: Fixes for amdgpu mmaps; reenable mapping by default. 2022-10-16 21:12:29 +00:00
Jason Volk
1ac69df8cd ircd::gpt::pipe::range: Use opts for construction. 2022-10-16 01:34:03 +00:00
Jason Volk
e8dad47247 ircd::gpt::model: Support mmap'ed and non-mmap'ed models based on conf. 2022-10-12 18:54:04 -07:00
Jason Volk
222d8404f1 ircd::server: Bail out of resolve handlers in case of unexpected callbacks. 2022-10-12 18:54:04 -07:00
Jason Volk
6a05fcefeb ircd::simt: Consolidate timestamp counter sampling into inline. 2022-10-12 18:53:53 -07:00
Jason Volk
54e3b8f5b4 ircd::simt: Consolidate portables and macros from units into headers. 2022-10-11 02:13:46 +00:00
Jason Volk
831141727b ircd::gpt::gpu: Add assert macro when trapping supported. 2022-10-09 03:29:29 +00:00
Jason Volk
c1168fcc30 ircd::gpt: Resolve behavior of opts.limit: 0=analysis, -n=unlimited, n=limited. 2022-10-09 03:13:09 +00:00
Jason Volk
6fb9cd7bf1 ircd::tokens: Relax noexcept on token result closures. 2022-10-08 15:37:14 -07:00
Jason Volk
a9b22c9052 ircd::lex: Handle js null as falsy boolean. 2022-10-08 10:49:41 -07:00
Jason Volk
4c44125d37 ircd::gpt::samp: Split dispatch branch into memfun. 2022-10-06 22:28:23 +00:00
Jason Volk
9682f406b3 ircd::gpt::gpu: Mute printf() on unsupporting platforms. 2022-10-06 22:26:19 +00:00
Jason Volk
2afaa4fa4f ircd::gpt::pipe: Remove cruft. 2022-10-06 22:05:52 +00:00
Jason Volk
442dad869d ircd::gpt: Resolve cycle count sampling; add debug log; fix count. 2022-10-06 22:01:41 +00:00
Jason Volk
0917a1f041 ircd::gpt::pipe: Resolve control page sync at ends of sample. 2022-10-06 18:54:29 +00:00
Jason Volk
be3fd4be62 ircd::gpt::pipe: Add 5th profile col for OpenCL 2.0; graceful default output. 2022-10-05 13:53:52 -07:00