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

Class AttentionParams

experimental/kernels/ops.cpp:238–243  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

236 float* inp,
237 int B, int T, int C, int NH){
238 struct AttentionParams {
239 uint32_t B;
240 uint32_t T;
241 uint32_t C;
242 uint32_t NH;
243 };
244 unsigned long b = static_cast<unsigned long>(B);
245 unsigned long t = static_cast<unsigned long>(T);
246 unsigned long c = static_cast<unsigned long>(C);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected