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

#include <ckernel_memory_layout.h>

Data Fields

size_t bridge_output
 
size_t bridge_proj_b
 
size_t bridge_proj_w
 
size_t causal_mask
 
CKSectionConfig config
 
size_t embed_output
 
size_t final_ln_beta
 
size_t final_ln_gamma
 
size_t final_ln_output
 
CKFooterOffsets footer
 
CKFooterGradOffsets footer_grads
 
CKLayerGradOffsetsgrads
 
CKHeaderOffsets header
 
CKLayerGradOffsetslayer_grads
 
CKLayerOptimizerOffsetslayer_opt
 
CKLayerOffsetslayers
 
size_t lm_head
 
size_t logits
 
const char * name
 
int num_layers
 
size_t pos_embed
 
size_t rope_cos
 
size_t rope_sin
 
size_t section_activation_bytes
 
size_t section_end
 
size_t section_grad_bytes
 
int section_id
 
size_t section_opt_bytes
 
size_t section_start
 
size_t section_weight_bytes
 
size_t token_embed
 

Detailed Description

Definition at line 197 of file ckernel_memory_layout.h.

Field Documentation

◆ bridge_output

size_t CKSection::bridge_output

Definition at line 222 of file ckernel_memory_layout.h.

◆ bridge_proj_b

size_t CKSection::bridge_proj_b

Definition at line 221 of file ckernel_memory_layout.h.

◆ bridge_proj_w

size_t CKSection::bridge_proj_w

Definition at line 220 of file ckernel_memory_layout.h.

◆ causal_mask

size_t CKSection::causal_mask

Definition at line 400 of file ckernel_section_layout.h.

◆ config

CKSectionConfig CKSection::config

Definition at line 198 of file ckernel_memory_layout.h.

◆ embed_output

size_t CKSection::embed_output

Definition at line 203 of file ckernel_memory_layout.h.

◆ final_ln_beta

size_t CKSection::final_ln_beta

Definition at line 212 of file ckernel_memory_layout.h.

◆ final_ln_gamma

size_t CKSection::final_ln_gamma

Definition at line 211 of file ckernel_memory_layout.h.

◆ final_ln_output

size_t CKSection::final_ln_output

Definition at line 213 of file ckernel_memory_layout.h.

◆ footer

CKFooterOffsets CKSection::footer

Definition at line 394 of file ckernel_section_layout.h.

◆ footer_grads

CKFooterGradOffsets CKSection::footer_grads

Definition at line 395 of file ckernel_section_layout.h.

◆ grads

CKLayerGradOffsets* CKSection::grads

Definition at line 208 of file ckernel_memory_layout.h.

◆ header

CKHeaderOffsets CKSection::header

Definition at line 385 of file ckernel_section_layout.h.

◆ layer_grads

CKLayerGradOffsets* CKSection::layer_grads

Definition at line 390 of file ckernel_section_layout.h.

◆ layer_opt

CKLayerOptimizerOffsets* CKSection::layer_opt

Definition at line 391 of file ckernel_section_layout.h.

◆ layers

CKLayerOffsets * CKSection::layers

Definition at line 207 of file ckernel_memory_layout.h.

◆ lm_head

size_t CKSection::lm_head

Definition at line 216 of file ckernel_memory_layout.h.

◆ logits

size_t CKSection::logits

Definition at line 217 of file ckernel_memory_layout.h.

◆ name

const char* CKSection::name

Definition at line 381 of file ckernel_section_layout.h.

◆ num_layers

int CKSection::num_layers

Definition at line 206 of file ckernel_memory_layout.h.

◆ pos_embed

size_t CKSection::pos_embed

Definition at line 202 of file ckernel_memory_layout.h.

◆ rope_cos

size_t CKSection::rope_cos

Definition at line 398 of file ckernel_section_layout.h.

◆ rope_sin

size_t CKSection::rope_sin

Definition at line 399 of file ckernel_section_layout.h.

◆ section_activation_bytes

size_t CKSection::section_activation_bytes

Definition at line 406 of file ckernel_section_layout.h.

◆ section_end

size_t CKSection::section_end

Definition at line 226 of file ckernel_memory_layout.h.

◆ section_grad_bytes

size_t CKSection::section_grad_bytes

Definition at line 407 of file ckernel_section_layout.h.

◆ section_id

int CKSection::section_id

Definition at line 382 of file ckernel_section_layout.h.

◆ section_opt_bytes

size_t CKSection::section_opt_bytes

Definition at line 408 of file ckernel_section_layout.h.

◆ section_start

size_t CKSection::section_start

Definition at line 225 of file ckernel_memory_layout.h.

◆ section_weight_bytes

size_t CKSection::section_weight_bytes

Definition at line 405 of file ckernel_section_layout.h.

◆ token_embed

size_t CKSection::token_embed

Definition at line 201 of file ckernel_memory_layout.h.


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