#include "ckernel_engine.h"Go to the source code of this file.
Functions | |
| CKMathBackend | ckernel_backend_native (void) |
| static void | ckernel_sgemm_native (int M, int N, int K, const float *A, int lda, const float *B, int ldb, const float *bias, float *C, int ldc) |
| CKMathBackend ckernel_backend_native | ( | void | ) |
Obtain the built-in native backend (single-node CPU, C + intrinsics).
Definition at line 39 of file backend_native.c.
References ckernel_sgemm_native(), and CKMathBackend::sgemm.
|
static |
Native GEMM backend that directly reuses the C-Transformer GEMM kernel.
Layout assumptions (identical to C-Transformer/main.c):
This is a straight copy of gemm_blocked_serial with a thin wrapper to match the CKMathBackend.sgemm signature. It is intentionally minimal.
Definition at line 18 of file backend_native.c.
References C.
Referenced by ckernel_backend_native().