Coco Nvg [2021] Info

To run via coco_run :

Written in a subset of OpenCL C (no printf , no images, limited atomics). Compiled offline using coco_cc : coco nvg

Set environment to use NVG backend:

sudo apt install build-essential meson ninja-build pkg-config \ libdrm-dev libdrm-nouveau2 mesa-common-dev libclang-dev \ llvm-dev python3 libpciaccess-dev Coco is a meta-framework. The NVG backend is part of coco-nvg (often hosted on GitLab/freedesktop or personal repos). There is no official release; you must clone and build. To run via coco_run : Written in a

// Set kernel arguments coco_kernel_set_arg(kernel, 0, sizeof(buf), &buf); coco_kernel_launch(kernel, 1, grid, block); // 1D grid // 1D grid