Skip to content

armgit / uzu

Public Imported from GitHub
0

A high-performance inference engine for AI models

651 B
Raw Blame
// Autogenerated stub
import definitions;

[[Variants("T", "float, BFloat16")]]
[[Variants("HEAD_K_DIM", "128")]]
[[Public]] [[Kernel]] func DeltaNetUpdate<T, let HEAD_K_DIM: uint32_t>(
  StructuredBuffer<T> in_proj,
  StructuredBuffer<float> a_log,
  StructuredBuffer<float> dt_bias,
  StructuredBuffer<float> norm_weight,
  RWStructuredBuffer<float> state,
  RWStructuredBuffer<T> out,
  uint32_t num_v_heads,
  uint32_t num_k_heads,
  uint32_t head_v_dim,
  uint32_t key_dim,
  uint32_t value_dim,
  float norm_epsilon,
  ThreadContext thread_context,
  [[Groups("num_v_heads")]] uint32_t hv_idx,
  [[Threads("512")]] uint32_t tid,
) {
  // TODO
}