0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-17 23:40:57 +01:00
Commit graph

5781 commits

Author SHA1 Message Date
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
Jason Volk
20162fd7d5 ircd::gpt: Splits and renames; various reorg. 2021-09-15 01:44:36 -07:00
Jason Volk
00a4e8c7b8 ircd::gpt: Force inlining for R600 support w/ attributes for now (clang-12). 2021-09-14 23:39:55 -07:00
Jason Volk
adbb974af0 ircd::mapi: Fix for non-standard-layout unique_ptr impl. 2021-09-14 23:39:55 -07:00
Jason Volk
77d53e6a71 ircd:🆑 Remove build success stub assertion; add stub debuglog. 2021-09-14 23:39:55 -07:00
Jason Volk
120a382398 ircd::net::dns: Split delegate service_init/fini; fix error. 2021-09-14 23:39:55 -07:00
Jason Volk
ec3209b6d5 ircd::fs: Add missing base::include path definition. 2021-09-14 23:39:55 -07:00
Jason Volk
6e7e56f081 ircd::gpt::pipe: Add conf item for default source paths and opts for now. 2021-09-14 23:39:55 -07:00
Jason Volk
3859a13293 ircd::gpt::model: Add conf items for model/cache opts related. 2021-09-14 23:39:55 -07:00
Jason Volk
d2b9e88a65 ircd::gpt::vocab: Simplify masks w/ sign extension. 2021-09-14 23:39:55 -07:00
Jason Volk
782379aeb4 ircd::gpt::vocab: Simplify UTF-8 length gauge. 2021-09-14 23:39:55 -07:00
Jason Volk
3e6fcf3a47 ircd::utf: Split header; improve decode codegen; inline length. 2021-09-14 23:39:55 -07:00
Jason Volk
71b1b44a7f ircd::utf: Rename encode() to encode_sparse(). 2021-08-08 09:47:02 -07:00
Jason Volk
f1e76604d0 ircd::utf: Complete the branchless UTF-8 decoder. 2021-08-01 03:34:27 -07:00
Jason Volk
5518daf197 ircd::gpt: Remove branch by assuming loop body always taken. 2021-08-01 03:22:14 -07:00
Jason Volk
4f97dcf456 ircd: Vector initialization fixes for GCC. 2021-05-14 05:57:47 -07:00
Jason Volk
7576c11897 ircd: Makefile conditions for clang; minor reorg opt vars. 2021-05-14 05:57:47 -07:00
Jason Volk
c3cb249f78 ircd::gpt: Split debug related; improve flush options; minor cleanup. 2021-05-14 05:57:47 -07:00
Jason Volk
8c077cfe15 ircd:🆑 Default enable. 2021-05-12 00:05:09 -07:00
Jason Volk
2c243be19a ircd:🆑 Add conf items for configuration environment; tweak loghead. 2021-05-12 00:05:09 -07:00
Jason Volk
467108f09a ircd:🆑 Add nice/intensity'ish rate-shaping option. 2021-05-11 20:56:09 -07:00
Jason Volk
37b1d47c8d ircd::gpt: Reorganize task options and control blocks. 2021-05-11 20:56:09 -07:00
Jason Volk
3e9c2d1b56 ircd::simt: Abstract the three-piece softmax, mean state related. 2021-05-11 20:56:09 -07:00
Jason Volk
d4e41218b0 ircd::ctx::pool: Simplify notify on work completion. 2021-05-11 20:56:09 -07:00
Jason Volk
5534672a07 ircd::fs: Move madvise suite to allocator unit. 2021-05-11 20:56:09 -07:00
Jason Volk
f0fe13e8e5 ircd::ctx::ole: Split missing worker_remove() definition; enable pthread for seq. 2021-05-11 20:56:09 -07:00
Jason Volk
d0c9a16770 ircd:🆑 Add interface for plat/dev info dump w/ console cmd. 2021-05-11 20:56:09 -07:00
Jason Volk
8233cf1db3 ircd:🆑 Add check for primary context in sync impl. 2021-05-11 20:56:09 -07:00
Jason Volk
3097161198 ircd:🆑 Add device type to banner; improve header. 2021-05-11 20:56:09 -07:00
Jason Volk
536594b487 ircd::gpt::pipe: Consolidate loop; improve access pattern; various reorg. 2021-05-11 20:56:08 -07:00
Jason Volk
1f49f71530 ircd::gpt: Backpropagate adaptive moment estimations. 2021-04-22 12:27:57 -07:00
Jason Volk
5011e20c2e ircd::json: Attribute aadditional known hot functions. 2021-04-22 12:27:57 -07:00
Jason Volk
5392ba0c7d ircd::gpt::pipe: Expansions to the context size. 2021-04-22 12:27:57 -07:00
Jason Volk
f61239a52c ircd::gpt::pipe: Various statistical instrumentation. 2021-04-22 12:27:57 -07:00
Jason Volk
2a3c54afa2 ircd::gpt::pipe: Add model invalidation for device resynchronization. 2021-04-22 12:27:57 -07:00