yet another OpenCL C -> Spir-V compiler
- C 97.3%
- CMake 2.2%
- Shell 0.5%
Changes to be committed: - modified: lib/attr/execmodel.h - new file: lib/attr/getchild.h - modified: lib/attr/glcmagic.h - modified: lib/attr/location.h - modified: lib/attr/specid.h - modified: lib/attr/storage_class.h - modified: lib/emit/count_fn.c - modified: lib/emit/decl_glob_obj.c - modified: lib/emit/entp_body.c - modified: lib/emit/expr.c - modified: lib/emit/expr.h - modified: lib/util/cxtp.c - modified: lib/util/iddef.c - modified: lib/util/iddef.h - modified: lib/util/is_kernel.h - modified: lib/util/log.h - modified: lib/util/op.h - modified: lib/util/scale.h - modified: src/source.cl - modified: src/vec.c |
||
|---|---|---|
| cfg | ||
| inc | ||
| lib | ||
| src | ||
| test | ||
| .gitignore | ||
| CMakeLists.txt | ||
| LICENSE | ||
| LICENSE-llvm | ||
| OpenCL.md | ||
| README.md | ||
| test.sh | ||
aclspv
it is incomplete project. please keep your expectation of this application low.
- OpenCL C -> SPIR-V compiler application & library for Vulkan.
- Uses llvm-c, clang-c to avoid memory corruption caused by static fiasco
libfor library source to be compiledincfor library header- This project compiles the dialect of OpenCL C. For further, see here
How to build
cmake -S. -Bbuild
cmake --build build
language
- ISO C90 with strict rule with libclang