gemma.cpp/util
Brendan Dahl b652581bcd Support building with Emscripten
Update CMake configuration and utility functions to enable compilation
with Emscripten. This includes setting Wasm-specific flags like
memory64 and SIMD, implementing platform-specific memory detection, and
adding guards for features like OpenSSL that may be unavailable in a
web environment.
2026-03-27 17:03:35 +00:00
..
allocator.cc Support building with Emscripten 2026-03-27 17:03:35 +00:00
allocator.h Warning fix (unused var), Windows build fix (missing member variable) 2025-10-21 10:17:34 -07:00
args.h Abort if args are unrecognized, refactor argument passing 2025-12-15 03:18:45 -08:00
basics.cc Add min_verbosity to MaybePrint 2026-03-19 04:22:01 -07:00
basics.h Add min_verbosity to MaybePrint 2026-03-19 04:22:01 -07:00
basics_test.cc Replace mt19937 with new generator to enable parallel sampling 2025-09-04 23:49:10 -07:00
mat.cc Add 8-bit integer quantization (I8Stream) to Gemma.cpp. 2025-10-15 09:25:20 -07:00
mat.h Improvements to inference using int8 compressed kv's 2026-03-24 08:51:30 -07:00
test_util.h Rollback of erroneous rollback. 2026-03-02 06:50:26 -08:00
threading.cc Support building with Emscripten 2026-03-27 17:03:35 +00:00
threading.h 1.01x speedup: improved autotune 2025-10-27 05:35:31 -07:00
threading_context.cc Add tensor stats and output 2025-12-11 22:52:46 -08:00
threading_context.h Abort if args are unrecognized, refactor argument passing 2025-12-15 03:18:45 -08:00
threading_test.cc Change (old) attention behavior to disallow wraparound, enforced via assertion. 2025-11-04 11:52:40 -08:00
topology.cc Avoid warning when OS affinity limits us to the second socket 2025-12-08 07:10:43 -08:00
topology.h Avoid warning when OS affinity limits us to the second socket 2025-12-08 07:10:43 -08:00
zones.cc Replaced attention in ViT with flash - 8x speedup of image tokenizer on AMD 2026-03-09 08:46:04 -07:00
zones.h Replaced attention in ViT with flash - 8x speedup of image tokenizer on AMD 2026-03-09 08:46:04 -07:00