Go to the source code of this file.
Functions | |
| int | ck_codegen_v2_emit_preamble (FILE *out) |
| void | ck_codegen_v2_emit_struct (FILE *out, const CKIRV2Graph *graph, const CKMemPlan *plan, const char *tag) |
| int ck_codegen_v2_emit_preamble | ( | FILE * | out | ) |
Definition at line 5 of file ckernel_codegen_v2_struct.c.
Referenced by ck_codegen_v2_emit_runtime().
| void ck_codegen_v2_emit_struct | ( | FILE * | out, |
| const CKIRV2Graph * | graph, | ||
| const CKMemPlan * | plan, | ||
| const char * | tag | ||
| ) |
Definition at line 20 of file ckernel_codegen_v2_struct.c.
References CKMemSpan::arena, CKIRV2Graph::buffers, CK_MEM_ARENA_COUNT, CK_MEM_PLAN_DEFAULT_ALIGN, CKIRV2Buffer::name, CKIRV2Graph::num_buffers, CKMemSpan::offset_bytes, CKMemSpan::size_bytes, CKMemPlan::spans, and CKMemPlan::total_bytes.
Referenced by ck_codegen_v2_emit_runtime().