← Back to C-Kernel-Engine Docs Doxygen Source Documentation
CKLayerForwardParams Struct Reference

#include <ckernel_orchestration.h>

Data Fields

int aligned_context_window
 
int aligned_embed_dim
 
int aligned_head_dim
 
int aligned_intermediate_dim
 
float * attn_out
 
const float * b1
 
const float * b2
 
const float * bk
 
const float * bo
 
const float * bq
 
const float * bv
 
int embed_dim
 
float eps
 
float * fc1_out
 
int head_dim
 
const float * input
 
int intermediate_dim
 
float * k
 
const float * ln1_gamma
 
float * ln1_out
 
float * ln1_rstd
 
const float * ln2_gamma
 
float * ln2_out
 
float * ln2_rstd
 
float * mlp_out
 
int num_heads
 
int num_kv_heads
 
float * output
 
float * proj_scratch
 
float * proj_tmp
 
float * q
 
float * residual1
 
const float * rope_cos
 
int rope_pos_offset
 
const float * rope_sin
 
float * scores
 
float * swiglu_out
 
int tokens
 
float * v
 
const float * w1
 
const float * w2
 
const float * wk
 
const float * wo
 
const float * wq
 
const float * wv
 

Detailed Description

Definition at line 45 of file ckernel_orchestration.h.

Field Documentation

◆ aligned_context_window

int CKLayerForwardParams::aligned_context_window

◆ aligned_embed_dim

◆ aligned_head_dim

◆ aligned_intermediate_dim

◆ attn_out

float* CKLayerForwardParams::attn_out

◆ b1

◆ b2

◆ bk

◆ bo

◆ bq

◆ bv

◆ embed_dim

◆ eps

◆ fc1_out

◆ head_dim

◆ input

◆ intermediate_dim

int CKLayerForwardParams::intermediate_dim

Definition at line 54 of file ckernel_orchestration.h.

◆ k

◆ ln1_gamma

◆ ln1_out

◆ ln1_rstd

◆ ln2_gamma

◆ ln2_out

◆ ln2_rstd

◆ mlp_out

◆ num_heads

◆ num_kv_heads

◆ output

◆ proj_scratch

float* CKLayerForwardParams::proj_scratch

◆ proj_tmp

◆ q

float* CKLayerForwardParams::q

◆ residual1

◆ rope_cos

◆ rope_pos_offset

◆ rope_sin

◆ scores

float* CKLayerForwardParams::scores

◆ swiglu_out

◆ tokens

int CKLayerForwardParams::tokens

◆ v

◆ w1

◆ w2

◆ wk

◆ wo

◆ wq

◆ wv


The documentation for this struct was generated from the following file: