yet another OpenCL C -> Spir-V compiler than clspv
- C 97.2%
- CMake 2.3%
- Shell 0.5%
Changes to be committed: - deleted: .github/workflows/build-and-test.yml - modified: CMakeLists.txt - modified: inc/aclspv/spvty.h - modified: lib/attr/execmodel.h - modified: lib/attr/location.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/util/constant.c - new file: lib/util/fnctx.h - modified: lib/util/id.h - modified: lib/util/iddef.c - modified: lib/util/iddef.h - modified: lib/util/op.h |
||
|---|---|---|
| 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