okami.mom/strata

git clone https://git.nkp.pet/okami.mom/strata

Niko1221rc1 merge df2-metal (a9df88afc): window_rule.hpp and its test (add/add) and generate.cpp (8 hunks) conflicted; mainline draft_fallback/draft_on/lookup_default kept, Metal's defer_df2 call taken3dfb046bf

main
889 B16 linesraw
1// metal/src/engine/stubs_df2.cpp - the DFlash2 tap kernels of the CUDA / HIP verifier and prefill (src/kernels/dflash2.hpp).
2// Verifier::record_window and Prefill::run_impl call them, but on Metal neither runs: the decode window and the prompt chunks are
3// metal/src/engine/window.cpp, which writes the taps itself (dflash2.inc).  They exist so the shared host files link.
4
5#include "strata/kernels/dflash2.hpp"
6
7namespace strata::metal_engine { void missing(const char* name); }
8
9namespace strata::kernels {
10void df2_tap_gr(const float*, int64_t, const float*, int64_t, const float*, int64_t, float*, int64_t, int, int64_t, int, void*) {
11    strata::metal_engine::missing("strata::kernels::df2_tap_gr");
12}
13void df2_tap_rows(const float*, float*, int64_t, int64_t, int, int, void*) {
14    strata::metal_engine::missing("strata::kernels::df2_tap_rows");
15}
16}  // namespace strata::kernels