File size: 535 Bytes
58ba6df
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// SPDX-FileCopyrightText: © 2026 Tenstorrent Inc.
// SPDX-License-Identifier: Apache-2.0
// Round 8: cmm compute (matmul at the explicit fidelity CMM_MM_FID) then the add+LN compute (this kernel's
// MATH_FIDELITY, HiFi4) on the cmm output, which never leaves its CB (ADDLN_C_Y = the cmm c_out).
#define kernel_main cmm_compute_main
#include "compute.cpp"
#undef kernel_main
#define ADDLN_KERNEL_MAIN void addln_compute_main()
#include "../addln/compute.cpp"

void kernel_main() {
    cmm_compute_main();
    addln_compute_main();
}