#include <coco/runtime.h> struct coco_device *dev; struct coco_buffer *buf; struct coco_kernel *kernel;
Example (using a known working fork):
./coco_run --backend nvg --kernel kernel.bin --global 1024 --local 256 Check if kernel loaded correctly: enable debug output coco nvg
Allocated via DRM dumb buffers or ttm (Nouveau). No unified memory. #include <coco/runtime