okami.mom/strata

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

Niko1221merge f-split-gyro (Gyro-S/M trellis port and catalog entries) into f-split-intbcbf2caf3

main
1.1 KiB25 linesraw
1// metal/src/engine/stubs_gyro.cpp - the Gyro (agentionai trellis experts) entry points the Metal engine does not implement:
2// the GPU Hadamard rotations of src/kernels/cuda/iq_kernels.cu.  native_expert_supported() (iq_host.cpp) does not list the
3// trellis types, so a Gyro pack stops at load with its reason and these are never reached with a supported file.
4// Each stops the engine with its name, like stubs.cpp.
5
6#include <cstdint>
7
8#include "strata/kernels/iq_kernels.hpp"
9
10namespace strata::metal_engine {
11void missing(const char* name);
12}
13
14namespace strata::kernels {
15void hadamard_rows(const float*, float*, int64_t, int64_t, int, const float*, void*) {
16    strata::metal_engine::missing("strata::kernels::hadamard_rows");
17}
18void hadamard_rows_f16(uint16_t*, int64_t, int64_t, int, const float*, void*) {
19    strata::metal_engine::missing("strata::kernels::hadamard_rows_f16");
20}
21const float* hadamard_device_signs(const float*, int) {
22    strata::metal_engine::missing("strata::kernels::hadamard_device_signs");
23    return nullptr;
24}
25}  // namespace strata::kernels