okami.mom/strata

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

Niko1221Merge f-023-int into f-023-guifcb0c2d0e

main
1.0 KiB15 linesraw
1// metal/src/engine/stubs_023.cpp - the two research hooks of the shared Verifier::record_window that only the CUDA / HIP backends implement
2// (src/kernels/cuda/verify_kernels.cu): hc_mean_streams (STRATA_TAP_FILE) and route_marginal_stats (STRATA_ROUTE_STATS).  Verifier::record_window
3// does not run on Metal (init hands over to the Metal window, metal/src/engine/window.cpp), so neither is reached; if one ever is, it stops
4// the engine with its name instead of continuing on outputs nobody wrote.  They exist so the shared host file links.
5
6#include <cstdint>
7
8#include "strata/kernels/verify_kernels.hpp"
9
10namespace strata::metal_engine { void missing(const char* name); }
11
12namespace strata::kernels {
13void hc_mean_streams(const float*, float*, int64_t, int, void*) { strata::metal_engine::missing("strata::kernels::hc_mean_streams"); }
14void route_marginal_stats(const int32_t*, int, int, unsigned long long*, void*) { strata::metal_engine::missing("strata::kernels::route_marginal_stats"); }
15}  // namespace strata::kernels