Files
leleka/scripts/cuda-qsa-oracle/oracle_native.cu
T

9 lines
450 B
Plaintext

// Test only: the original implementation is an independent translation unit.
#include "../../engine/strata/src/kernels/cuda/native_qsa.cu"
extern "C" void oracle_norm(const float*x,const float*g,float*y,int c,int n,cudaStream_t s) {
strata::kernels::native_qsa_rms_norm_weighted(x,g,y,c,n,1e-6f,s);
}
extern "C" void oracle_gate(const float*x,const float*full,float*y,cudaStream_t s) {
strata::kernels::native_qsa_gate_apply(x,full,y,24,256,s);
}