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

Class SoftmaxParam

experimental/kernels/unittest_llmc/unittest_kernels.cpp:436–440  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

434
435void SOFTMAX_FORWARD_GPU(float* probs, float* logits, int B, int T, int V, int Vp) {
436 struct SoftmaxParam {
437 uint32_t N;
438 uint32_t C;
439 uint32_t Cp;
440 };
441 uint32_t b = static_cast<uint32_t>(B);
442 uint32_t t = static_cast<uint32_t>(T);
443 uint32_t c = static_cast<uint32_t>(V);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected