MCPcopy Create free account
hub / github.com/AnswerDotAI/gpu.cpp / AttentionParams

Class AttentionParams

experimental/kernels/unittest_llmc/unittest_kernels.cpp:292–297  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

290 float* inp,
291 int B, int T, int C, int NH){
292 struct AttentionParams {
293 uint32_t B;
294 uint32_t T;
295 uint32_t C;
296 uint32_t NH;
297 };
298 unsigned long b = static_cast<unsigned long>(B);
299 unsigned long t = static_cast<unsigned long>(T);
300 unsigned long c = static_cast<unsigned long>(C);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected