← Back to C-Kernel-Engine Docs Doxygen Source Documentation
ckernel_codegen_v2_dispatch.c File Reference
#include "ckernel_codegen_v2_emit.h"
#include <stdio.h>

Go to the source code of this file.

Functions

void ck_codegen_v2_emit_dispatch (FILE *out, const CKIRV2Graph *graph)
 

Function Documentation

◆ ck_codegen_v2_emit_dispatch()

void ck_codegen_v2_emit_dispatch ( FILE *  out,
const CKIRV2Graph graph 
)

Definition at line 5 of file ckernel_codegen_v2_dispatch.c.

6 {
7  (void)graph;
8  fprintf(out,
9  "static void ck_v2_dispatch_node(int node_id) {\n"
10  " /* TODO: wire kernel dispatch using node metadata. */\n"
11  " (void)node_id;\n"
12  "}\n\n");
13 }

Referenced by ck_codegen_v2_emit_runtime().