Skip to content

vortexgpgpu/vortex-toolchain-prebuilt

Repository files navigation

vortex-toolchain-prebuilt

Prebuilt binaries (LLVM, POCL, chipStar, libc/libcrt, riscv-gnu-toolchain, verilator, yosys, sv2v, sta) for the Vortex GPGPU. Pulled by ci/toolchain_install.sh from the Vortex repo via the TOOLCHAIN_REV tag pin.

Installation

$ git clone --depth=1 https://github.com/vortexgpgpu/vortex-toolchain-prebuilt.git

Or use the Vortex repo's installer (recommended):

$ cd vortex && ./configure && cd build && ./ci/toolchain_install.sh --all

Releases

v3.0 (2026-05-15)

  • LLVM: LLVM 20.1.8 (Vortex fork, RISC-V + X86 + clang + lld). Bundles llvm-spirv (SPIRV-LLVM-Translator llvm_release_200).
  • POCL: pocl_vortex on top of upstream release_7_0. KMU dispatch model. ENABLE_ICD=ON (ships libpocl.so + libOpenCL.so + pocl.icd). ENABLE_SPIRV=ON.
  • chipStar (new): HIP-on-Vortex via SPIR-V. bin/hipcc, lib/libCHIP.so, lib/llvm/libLLVMHipSpvPasses.so, device-libs.
  • libcrt32/libcrt64: compiler-rt builtins rebuilt against LLVM 20. libcrt64 previously shipped ELF32 .S objects (v2 toolchain defaulted to riscv32 so .S files never got -march=rv64) — now correct ELF64.
  • libc32/libc64: musl v1.2.5 rebuilt against LLVM 20. riscv32 setjmp/longjmp patched fld/fsdflw/fsw for the ilp32f ABI.

Known limitations

  • chipStar HIP is rv64-only. chipStar's hipcc emits SPIR-V with OpMemoryModel Physical64; POCL checks SPIR-V address bits against the device's address_bits and refuses to compile Physical64 SPIR-V on a 32-bit Vortex device (CL_INVALID_OPERATION: No device in context supports SPIR). HIP works on rv64 (verified: vecadd, sgemm). For HIP on rv32 the upstream chipStar would need a --offload=spirv32 mode, or the native HIPVortex toolchain (see hip_support_proposal.md). OpenCL is fully supported on both XLENs.

v2.3

Prior release (LLVM 21 line, POCL pre-7.0, no chipStar). Kept for users on the v2.x branch.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors