A high-performance inference engine for AI models
// Autogenerated stub
import definitions;
[[Public]] [[Kernel]] func TrellisTransform(
StructuredBuffer<BFloat16> input,
StructuredBuffer<float> rht_factors,
StructuredBuffer<float> mixing,
RWStructuredBuffer<int8_t> activations,
RWStructuredBuffer<vector<float, 4>> column_group_sums,
RWStructuredBuffer<float> scales,
uint32_t batch,
[[Specialize]] uint32_t dimension,
[[Groups("batch")]] uint32_t token,
[[Threads("512")]] uint32_t thread_index,
ThreadContext thread_context,
) {
// TODO
}