MegEngine / MegCC

MegCC是一个运行时超轻量,高效,移植简单的深度学习模型编译器
Apache License 2.0
474 stars 56 forks source link

tcc demo miss link,where is the jit demo? #3

Closed jsonlee0x01 closed 1 year ago

jsonlee0x01 commented 2 years ago

In the readme: https://github.com/MegEngine/MegCC/blob/main/third_party/tcc/readme.md The following link is unreachable https://www.developing-stuff.com/how-to-compile-run-c-code-at-runtime-or-how-to-use-c-as-a-scripting-language/

chenqy4933 commented 2 years ago

yes, the origin link:https://www.developing-stuff.com/how-to-compile-run-c-code-at-runtime-or-how-to-use-c-as-a-scripting-language/ is out of date. delete it now.

jsonlee0x01 commented 2 years ago

so where is the tiny demo for the jit impl, can you show the demo code?

chenqy4933 commented 2 years ago

this is the demo used in MegCC, https://github.com/MegEngine/MegCC/blob/main/compiler/lib/KernelGen/Jit/JitExe.cpp#L75, hope it will help you!!!

jsonlee0x01 commented 1 year ago

腾讯公司友情提醒:机主暂时奔出服务区、、、呵呵

chenqy4933 commented 1 year ago

啥情况,看很久没有反应,就关了