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

6 lines
393 B
Plaintext

#include "../../engine/strata/src/kernels/cuda/native_qsa_indexer.cu"
extern "C" void oracle_index(const float*x,const float*g,const int*p,float*tail,float*dead,float*pool,int*bpos,cudaStream_t s) {
strata::kernels::QsaIndexerBuffers b{tail,dead,pool,bpos};
strata::kernels::native_qsa_indexer_append(x,p,0,g,1e-6f,b,strata::kernels::qsa_real_shapes(),8,strata::kernels::RopeScaling{},s);
}