Implement gkernel: Part 1 (#150)

* start gkernel implementation

* progress

* more of kernel

* swap to new dispatcher, will it work on windows

* update
This commit is contained in:
water111
2020-12-05 17:09:46 -05:00
committed by GitHub
parent 90e5c023f1
commit 06918e1fea
30 changed files with 2492 additions and 235 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ std::vector<u8> CodeGenerator::run() {
if (function_names.find(f->name()) == function_names.end()) {
function_names.insert(f->name());
} else {
printf("Failed to codegen, there are two functions with internal names %s\n",
printf("Failed to codegen, there are two functions with internal names [%s]\n",
f->name().c_str());
throw std::runtime_error("Failed to codegen.");
}