Skip to content
Nick Vrvilo edited this page May 15, 2015 · 7 revisions

CnC-OCR workflow and Toolchain Overview

The CnC programming model

CnC is a programming model rather than a programming language. There are many implementations of the CnC model in many programming languages, including the C-based implementation built on OCR.

In CnC, programs are expressed in graph form. The CnC programmer decomposes an application into item collections, which represent data, and step collections, which represent computation. Item and step instances comprise the nodes of the CnC graph, while the edges represent data and control dependencies among the nodes.

Although these core concepts of the CnC model are common among the many implementations of the CnC model, code written for individual implementations may not be compatible. For example, Intel CnC—the flagship implementation of the CnC model—has a very different feature set from CnC-OCR.

Clone this wiki locally