35
35
36
36
本工程使用纯C++11标准库编写,无任何第三方依赖。兼容` MacOS ` 、` Linux ` 、` Windows ` 和` Android ` 系统,支持通过 ` CLion ` 、` VSCode ` 、` Xcode ` 、` Visual Studio ` 、` Code::Blocks ` 、` Qt Creator ` 等多款IDE进行本地编译和二次开发,具体编译方式请参考 [ CGraph 编译说明] ( https://github.com/ChunelFeng/CGraph/blob/main/COMPILE.md ) <br >
37
37
38
- 详细功能介绍和用法,请参考 ** 推荐阅读 ** 中的文章内容。项目相关视频在B站持续更新中 ,欢迎观看交流和一键三连:<br >
38
+ 详细功能介绍和用法,请参考 [ 一面之猿网 ] ( http://www.chunel.cn/ ) 中的文章内容。相关视频在B站持续更新中 ,欢迎观看交流和一键三连:<br >
39
39
* [ 【B站视频】CGraph 入门篇] ( https://www.bilibili.com/video/BV1mk4y1v7XJ ) <br >
40
40
* [ 【B站视频】CGraph 功能篇] ( https://www.bilibili.com/cheese/play/ss22264 ) <br >
41
41
* 全面介绍CGraph项目中,所有的名词术语和功能模块
44
44
* 适合对多线程编程感兴趣的童鞋
45
45
* [ 【B站视频】CGraph 应用篇] ( https://www.bilibili.com/video/BV1B84y1D7Hs ) <br >
46
46
* [ 【B站视频】CGraph 分享篇] ( https://www.bilibili.com/video/BV1dh4y1i78u ) <br >
47
- * [ 【B站视频】CGraph 和 taskflow 性能对比实测] ( https://www.bilibili.com/video/BV1gwWAekEAy/?spm_id_from=333.337.search-card.all.click&vd_source=2c7baed805c6cb33d630d5d4546cf0be ) <br >
48
47
49
48
## 二. 使用Demo
50
49
55
54
class MyNode1 : public CGraph ::GNode {
56
55
public:
57
56
CStatus run() override {
58
- printf("[ %s] , Sleep for 1 second ...\n", this->getName().c_str());
57
+ printf("[ %s] , sleep for 1 second ...\n", this->getName().c_str());
59
58
CGRAPH_SLEEP_SECOND(1)
60
59
return CStatus();
61
60
}
@@ -64,7 +63,7 @@ public:
64
63
class MyNode2 : public CGraph::GNode {
65
64
public:
66
65
CStatus run() override {
67
- printf("[ %s] , Sleep for 2 second ...\n", this->getName().c_str());
66
+ printf("[ %s] , sleep for 2 second ...\n", this->getName().c_str());
68
67
CGRAPH_SLEEP_SECOND(2)
69
68
return CStatus();
70
69
}
@@ -133,7 +132,9 @@ int main() {
133
132
134
133
* [ GraphANNS] ( https://github.com/whenever5225/GraphANNS ) : Graph-based Approximate Nearest Neighbor Search Working off CGraph
135
134
* [ CThreadPool] ( https://github.com/ChunelFeng/CThreadPool ) : 一个简单好用、功能强大、性能优异、跨平台的C++线程池
135
+ * [ CGraph-lite] ( https://github.com/ChunelFeng/CGraph-lite ) : head-only, simplest CGraph, with DAG executor and param translate function
136
136
* [ taskflow] ( https://github.com/taskflow/taskflow ) : A General-purpose Parallel and Heterogeneous Task Programming System
137
+ * [ 【B站视频】CGraph 和 taskflow 性能对比实测] ( https://www.bilibili.com/video/BV1gwWAekEAy/?spm_id_from=333.337.search-card.all.click&vd_source=2c7baed805c6cb33d630d5d4546cf0be ) <br >
137
138
* [ awesome-cpp] ( https://github.com/fffaraz/awesome-cpp ) : A curated list of awesome C++ (or C) frameworks, libraries, resources, and shiny things. Inspired by awesome-... stuff.
138
139
* [ awesome-workflow-engines] ( https://github.com/meirwah/awesome-workflow-engines ) : A curated list of awesome open source workflow engines
139
140
* [ nndeploy] ( https://github.com/DeployAI/nndeploy ) : nndeploy是一款模型端到端部署框架。以多端推理以及基于有向无环图模型部署为内核,致力为用户提供跨平台、简单易用、高性能的模型部署体验。
@@ -325,10 +326,11 @@ int main() {
325
326
* 提供bazel编译方式
326
327
* 优化perf功能
327
328
328
- [ 2024.07.27 - v2.6.1 - Chunel]
329
+ [ 2024.09.07 - v2.6.1 - Chunel]
329
330
* 提供` pipeline ` 的静态执行的方式,提供微任务机制
330
331
* 优化` event ` (事件)机制,异步事件可以等待结束
331
332
* 提供` pipeline ` 剪裁功能,用于删除` element ` 之间重复的依赖
333
+ * 发布 [ CGraph-lite] ( https://github.com/ChunelFeng/CGraph-lite ) 项目,提供简单DAG构图和参数传递功能。接口完全兼容,可无缝切换至本项目
332
334
333
335
</details>
334
336
0 commit comments