Go to the source code of this file.
Functions | |
| static const char * | ck_codegen_v2_dtype_name (CKDataType dtype) |
| void | ck_codegen_v2_emit_schedule (FILE *out, const CKIRV2Graph *graph, const char *prefill_runtime, const char *decode_runtime, const char *backward_runtime) |
| static void | emit_schedule_block (FILE *out, const CKIRV2Graph *graph, const char *func_name, const char *label, const char *runtime_sym) |
|
static |
Definition at line 5 of file ckernel_codegen_v2_schedule.c.
References CK_DT_BF16, CK_DT_FP16, CK_DT_FP32, CK_DT_Q4_0, CK_DT_Q4_K, CK_DT_Q6_K, and CK_DT_Q8_0.
Referenced by emit_schedule_block().
| void ck_codegen_v2_emit_schedule | ( | FILE * | out, |
| const CKIRV2Graph * | graph, | ||
| const char * | prefill_runtime, | ||
| const char * | decode_runtime, | ||
| const char * | backward_runtime | ||
| ) |
Definition at line 61 of file ckernel_codegen_v2_schedule.c.
References emit_schedule_block().
Referenced by ck_codegen_v2_emit_runtime().
|
static |
Definition at line 27 of file ckernel_codegen_v2_schedule.c.
References CKIRV2Binding::arg, CKIRV2Node::bindings, CKIRV2Binding::buffer, CKIRV2Graph::buffers, ck_codegen_v2_dtype_name(), CKIRV2Node::kernel, CKIRV2Node::kernel_dtype, CKIRV2Node::layer, CKIRV2Node::n_bindings, CKIRV2Buffer::name, CKIRV2Graph::nodes, CKIRV2Graph::num_buffers, CKIRV2Graph::num_nodes, and CKIRV2Node::op.
Referenced by ck_codegen_v2_emit_schedule().