Annotated C-family Language -> Spir-V compiler
  • C 97%
  • C++ 2.4%
  • CMake 0.6%
Find a file
kenter7317 9d1f1af17a fix : implicit conversion (#7)
# Fix implict casting error and Clang wrong assumtion

## Environment
```
OS: Windows 11 Education (25H2) x86_64
Kernel: WIN32_NT 10.0.26200.8457
CPU: AMD Ryzen 7 8845HS (16) @ 5.10 GHz
GPU 1: NVIDIA GeForce RTX 4060 Laptop GPU @ 3.10 GHz (7.77 GiB)
GPU 2: AMD Radeon(TM) Graphics (417.46 MiB)
Compiler:
	Clang:
		clang version 22.1.6
		(https://github.com/llvm/llvm-project fc4aad7b5db3fff421df9a9637605b9ca5667881)
Generator:
	Ninja: 1.21.1
    (https://github.com/llvm/llvm-project fc4aad7b5db3fff421df9a9637605b9ca5667881)
```
## Summary
### Implict casting error
in C90, casting that is not mark on code is not allowed. then this pull request contain correction of that codes

Co-authored-by: kenter7317 <kenter7317@gmail.xom>
Reviewed-on: #7
2026-06-22 15:06:34 +00:00
cfg UPDATE: named aclspvABI to aclspv and added commmon for headers 2026-05-06 00:53:04 +09:00
inc fix: manual assert header 2026-06-21 02:17:11 +09:00
lib fix : implicit conversion (#7) 2026-06-22 15:06:34 +00:00
src fix : implicit conversion (#7) 2026-06-22 15:06:34 +00:00
test fix: manual assert header 2026-06-21 02:17:11 +09:00
.gitignore gitignore, mallocfree 2026-05-30 04:17:02 +09:00
ACL.md docs(./ACL.md): little documentation for vector type 2026-05-16 03:42:07 +09:00
CMakeLists.txt fix: gcc leak false positive 2026-05-25 23:29:45 +09:00
LICENSE UPDATE 2025-12-26 02:37:34 +09:00
LICENSE-llvm UPDATe 2025-12-26 02:30:12 +09:00
README.md refactour: mass refactour 0 2026-05-30 20:46:31 +09:00

aclspv

it is incomplete project. please keep your expectation of this application low.

  • C-family language with annotation attributes to SPIR-V compiler library.
  • Uses llvm-c, clang-c to avoid memory corruption caused by static fiasco
  • lib for library source to be compiled
  • inc for 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.

dependency

  • cmake >= 3.10
  • c compiler which compiles c90+

license