Download code/hamer/kernels/cmm/fused_compute.cpp from changh95/hamer-p150: direct link, hf CLI and curl.
- Browser
- Download file 535 Bytes
-
https://huggingface.co/changh95/hamer-p150/resolve/main/code/hamer/kernels/cmm/fused_compute.cpp
- Command line
-
hf download hf://changh95/hamer-p150/code/hamer/kernels/cmm/fused_compute.cpp
-
curl -L -o fused_compute.cpp https://huggingface.co/changh95/hamer-p150/resolve/main/code/hamer/kernels/cmm/fused_compute.cpp
535 Bytes
| // 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). | |
| void kernel_main() { | |
| cmm_compute_main(); | |
| addln_compute_main(); | |
| } | |