From 16479e7a69b44fe426c5e5d346f43833cae508a7 Mon Sep 17 00:00:00 2001 From: aejjeh <aejjeh@illinois.edu> Date: Mon, 27 Jan 2020 17:05:09 -0600 Subject: [PATCH] Added intro paragraph to C spec. --- hpvm/docs/hpvm-c.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/hpvm/docs/hpvm-c.md b/hpvm/docs/hpvm-c.md index 77bc684b16..36feaa7626 100644 --- a/hpvm/docs/hpvm-c.md +++ b/hpvm/docs/hpvm-c.md @@ -1,4 +1,9 @@ -# HPVM-C Language +# HPVM-C Language Specification +An HPVM program is a combination of host code and one or more data flow graphs (DFG) at the IR level. We provide C function declarations representing the HPVM intrinsics that allow creating, querying, and interacting with the DFGs. More details about the HPVM IR intrinsics can be found in [the HPVM IR Specification.](#hpmv-specification.md). + +An HPVM-C program contains both the host and the DFG code. Each HPVM kernel, represented by a leaf node in the DFG, can be compiled to multiple different targets (e.g. CPU and GPU) as described below. + +This document describes all the API calls that can be used in an HPVM-C program. ## Host API -- GitLab