Skip to content

luoszu/DFC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DFC

v0.1

数据流通用C语言(Dataflow C language, DFC)是由深圳大学高性能计算研究所的系统技术组SKT(System Kernel Technology Group)开发,旨在提供通用的数据流编程语言。DFC编译器利用了ompicc编译器的代码,运行库则借用了mbrossard 线程池代码。

功能更加全面的第二个版本正在开发中:v0.2

contributors : 张靖 吴汇杰 罗斌 李锦荣 文成元 李克钹

使用方法

DFC编译器安装

cd compiler/ompi
./configure --prefix="安装路径"
make
make install

如果configure和gen_version文件没有权限,则运行chmod +x configure/gen_version赋予运行权限

利用DFC编译器将DFC代码转换为标准C代码

安装路径/bin/ompicc  -k  -v  -s -g    -I"path-to-dfc" -I"path-to-threadpool"  "program-in-dfc"

编译选项

-k 保留中间文件
-v 输出编译信息
-s 生成的代码可以记录调度信息
-g 绘制DAG

更多细节将会在后续时间补充

DFC

v0.1

Dataflow C language, short for DFC, is developed by the SKT(System Kernel Technology Group)in the laboratory in High Performance Computing Center, Shenzhen University. DFC aims at providing a general language for data flow programming. DFC makes use of ompicc compiler and mbrossard's threadpool codes.

The second version is under development: v0.2

USAGE

install the DFC compiler

cd compiler/ompi
./configure --prefix="installation-path"
make
make install

If the ./configure and the ./gen_version are denied to be executed, run

chmod +x configure/gen_version

Code Transformation

installation-path/bin/ompicc  -k  -v  -s -g    -I"path-to-dfc" -I"path-to-threadpool"  "program-in-dfc"

OPTIONS

-k keep the media files
-v details
-s generate code with recording schedule info
-g draw the DAG

more details about DFC wii be added in a later time