Skip to content

About

No description, website, or topics provided.

Resources

Stars

11 stars

Watchers

2 watching

Forks

Repository files navigation

vortex-toolchain-prebuilt

Prebuilt binaries (LLVM, POCL, chipStar, libc/libcrt, riscv-gnu-toolchain, verilator, yosys, sv2v, sta, CIRCT, Foldsim, Beacon, the Khronos Vulkan loader, and optionally SLASH) 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.5 (2026-12-01)

v3.0.4 with the Foldsim, Beacon and SLASH bundles of the Foldsim sign-off. Every other bundle is byte-identical to v3.0.4 (dcb1da8); circt stays at ab733d13d (Beacon's gate baselines key on its version line, as in v3.0.4).

  • Foldsim (ubuntu/focal, rhel/9): orcaslab/foldsim 6505fb20e on CIRCT 90c5fd313, Beacon submodule f28fec7c9. Not yet published on orcaslab/foldsim. Since v3.0.4's 5f4df13: the virtual-memory kernel shell (pools, groups, static ports), link engines, the kernel drain-then-reset (foldsim_axi_drain, foldsim_afu_reset, its status registered at the sequencer by foldsim_drain_rx, the drain gates floorplanned beside the memory endpoint), the registered memory-endpoint boundary, the control endpoint's start/busy fix, foldsim --help (a bare % in one help string), the endpoint's shorter logic paths, the V80 image hooks (per-SLR pblocks, FOLDSIM_STOP_AFTER, escape_pblock.tcl, kernel_fanout.xdc), per-read-port ultra RAM copies. foldsim-opt --version prints CIRCT 90c5fd313 and foldsim 6505fb20e.
    • rhel/9: native EL9 (gcc-toolset-13, lld, static libstdc++). check-foldsim (Verilator 5.050): 346 tests, 345 passed, 1 unsupported, 0 failed; check-beacon 28/28.
    • ubuntu/focal: built in ubuntu:22.04 (GCC 11.4, Python 3.10) with Vortex's ci/foldsim_install.sh. check-foldsim without Verilator: 152 passed, 194 unsupported, 0 failed. Needs at most GLIBC_2.34; no library missing on a clean ubuntu:22.04.
    • The file lists add the new flow hooks and kernel RTL (152 -> 180 entries); nothing is removed.
  • Beacon (ubuntu/focal, rhel/9): orcaslab/beacon f28fec7c9 (not yet published): a block ROM's registered read priced as block RAM (beacon-block-roms), and beacon-validate-rom.test requires numpy as beacon validate does. check-beacon: 28/28 on rhel/9; 27 passed + 1 unsupported (no numpy) in ubuntu:22.04.
  • SLASH (ubuntu/focal): orcaslab/slash 7362fa0d (not yet published), packaged as v3.0.3's: the control-path firewall in front of every kernel, the RM drain contract (drain= in the link config, vrtd's drain-then-reset before a design write over a live RM), vrtd keeping the clock at the last client's exit, and libvrt's read-only open (no clock change). 344 entries (v3.0.4: 334).
  • 16-SM result: the card-verified 16-SM image is the k16f image at 100 MHz (routed at 10.000 ns, WNS +0.024 ns, 0 routing errors): 31 of 32 V80 card runs EXACT, demo froze at the launch timeout. It predates the release kernel (no drain-then-reset); a 16-SM image of the release kernel is a follow-up. See Foldsim's docs/results.md.

v3.0.4 (2026-11-26, updated 2026-11-28)

Update (2026-11-28). The v3.0.4 tag moved from the original release (22005d5) to this commit. The mesa-vortex and pocl bundles are rebuilt, and llvm-vortex's SPIR-V translator is rebuilt. Every other bundle is byte-identical to the original v3.0.4.

  • pocl (ubuntu/focal, rhel/9): vortexgpgpu/pocl vortex_3.1 @ 6b98cc8d4f5c. That is vortex_3.1's e6df1d510 plus the three vortex_3.x commits vortex_3.1 lacked, forward-ported with identical patches: 49593dcdc (atomic_cmpxchg under contention, float atomic_xchg, atom_*), 7fac914a7 (barrier and fence lowering) and 471f88096 (TEX descriptor written only when it changes). Its tree is identical to vortex_3.x 471f88096 plus e6df1d510, so vortex_3.1 holds everything vortex_3.x has. The Vortex device driver now writes the mip-0 width and height in texels to the TEX unit's DCR 0x042 (VX_DCR_TEX_DIM), which is how Vortex has read that DCR since f2d4c7edc. v3.0.3 and the original v3.0.4 wrote their log2 (VX_DCR_TEX_LOGDIM) instead. A 16x16 image was therefore sampled as a 4x4 texture, and tests/opencl image_ff, image_ff_linear, image_ff_bgra and image_hwsw failed on SimX and rtlsim.

    • e6df1d510 is the only vortex_3.1 commit since the branches split at 5e06f2f44. Without the three forward ports, vortex_3.1's kernel library lacks 47 symbols, among them the 44 atom_* functions and the float atomic_xchg, so kernels that use them fail to build. No other Vortex ABI that PoCL hardcodes (TEX DCRs, vx_tex encoding, coordinate format) differs from Vortex 06c3635be.
    • Configuration is the same as the original v3.0.4: ICD-only, relative .icd, SPIR-V, rv32 and rv64 kernel bitcode, lib/.
    • Built against each OS's updated llvm-vortex (below; PoCL links the translator library statically) and a Vortex 46012cc0f SDK, identical to 06c3635be's apart from the install prefix. rhel/9 is native EL9 (GCC 11.5). ubuntu/focal is built in ubuntu:22.04 (GCC 11.4); until this update that slot held the 2026-11-18 build.
    • File lists are unchanged: rhel/9 has 57 entries including include/CL, ubuntu/focal has 34.
    • The kernel bitcode is byte-identical in the two bundles. Against the original v3.0.4's, it differs only in inline-asm source-location metadata.
    • Both need at most GLIBC_2.34 / GLIBCXX_3.4.29, ldd -r reports nothing undefined, and libpocl loads under LD_BIND_NOW.
  • llvm-vortex (ubuntu/focal, rhel/9): the original v3.0.4's a0df07abbec2 build, with only llvm-spirv and the translator library rebuilt (bin/llvm-spirv, lib/libLLVMSPIRVLib.a, include/LLVMSPIRVLib/*).

    • The translator is now SPIRV-LLVM-Translator llvm_release_200 @ df411ebb6635, the one v3.0.3's ubuntu/focal bundle ships, instead of branch head 33bd8b8a.
    • Why: clang's HIP-on-SPIR-V link, which chipStar's hipcc drives, runs llvm-spirv --spirv-max-version=1.1 --spirv-ext=+all. Translators from 2a0cfc1b on (SPV_KHR_float_controls2, committed 2026-10-12) decorate fast-math operations with that extension, which needs SPIR-V 1.2. Every tests/hip build then failed in hipspv-link with exit 17 ("restricted to at most 1.1 ... requires SPIR-V version 1.2"). This affected the original v3.0.4 on both OSes, and v3.0.3's rhel/9 bundle.
    • Built as the original v3.0.4's was: Release, against each OS's installed a0df07abbec2.
    • The file list is unchanged (3961 entries). Everything outside those 5 files is byte-identical.
  • mesa-vortex (ubuntu/focal, rhel/9): built from Mesa commit d6393456d15. That commit is not yet published on vortexgpgpu/mesa. It is a fast-forward (83 commits) of vortexgpgpu/mesa vortex_3.1 f14e52d6aaf, which contains every vortex_3.x commit, up to fc5b07ad81d; until it is pushed there, this bundle's source is not on GitHub. It has the current vortexpipe driver, libvulkan_lvp.so linked with -z nodelete, and descriptor-mode TEX. The original v3.0.4 still shipped the 2026-10-11 build, whose driver predates the Vortex runtime and device interface of the current Vortex tree: on it the Vulkan SimX rtquery test gets 522 of 4096 pixels wrong. That build's ICD is also not nodelete, so with a loader older than v1.4.333 (EL9 ships 1.4.328) an allocation failure in vkCreateInstance unmaps the ICD under a live instance. ci/vk_loader_check.sh now reports nodelete=yes. Built with ci/mesa_install.sh's options (platforms=x11,wayland, llvm=enabled, cpp_rtti=false, gallium-drivers=llvmpipe,vortexpipe, vulkan-drivers=swrast) against each OS's a0df07abbec2 llvm-vortex. rhel/9 is now a native EL9 build (almalinux:9, GCC 11.5); until this update that slot held the focal binary. ubuntu/focal is built in ubuntu:22.04 (GCC 11.4). Both need at most GLIBC_2.34 and GLIBCXX_3.4.29, and resolve every import (ldd -r). The front-end kernels vortexpipe embeds are compiled from Vortex 459df51e2 (sw/gfx, sw/common, sw/kernel and its generated config headers) and are byte-identical in the two bundles; rebuilt from Vortex 06c3635be they are byte-identical again. The bundles have the original v3.0.4's file list (148 entries) and a relative ICD library_path. Compared with the original v3.0.4, the ICD also links libzstd.so.1 (shader-cache compression). The rhel/9 ICD no longer needs libunwind.so.8; the ubuntu/focal one still does, as in the original v3.0.4 (Vortex's ci/install_dependencies.sh --vulkan installs libunwind8).

Checked on a rhel/9 install of these bundles, with Vortex 06c3635be and no POCL_PATH or MESA_PATH override:

  • image_ff, image_ff_linear, image_ff_bgra and image_hwsw pass on SimX and rtlsim, x32 and x64. SimX and rtlsim retire the same instructions. With the original v3.0.4's pocl, all four fail.
  • vecadd, sgemm, image_copy, image_linear and hybridsort (SimX x32) pass with the same instruction and cycle counts as the original v3.0.4's pocl.
  • tests/hip hip-1 passes on SimX x32 and x64, and hip-4 on xrtsim x32. With the original v3.0.4's translator they fail in hipspv-link.
  • ubuntu/focal (ubuntu:22.04): ldd -r reports nothing undefined, and tests/hip vecadd builds for x32.

Checked again with the vortex_3.1 pocl installed (rhel/9), with Vortex 46012cc0f and no POCL_PATH or MESA_PATH override. Every count equals the 742664ac0615 build's (the same pocl tree, built earlier):

  • SimX x32: image_ff 8,456, image_ff_linear 8,712, image_ff_bgra 8,584, image_hwsw 934,832, vecadd 448, sgemm 334,864 instructions; tests/hip hip-1 passes (its vecadd 1,511, sgemm 593,111); the Vulkan triangle passes with 67,468 (nodelete=yes).
  • rtlsim x32: image_ff passes with 8,456 instructions.
  • ubuntu/focal, end to end in a CI-like ubuntu:22.04 container (Vortex's ci/install_dependencies.sh --vulkan, then ci/toolchain_install.sh from this commit), SimX x32: image_ff 8,456, vecadd 448, hip-1 (vecadd 1,511, sgemm 593,111) and the Vulkan triangle 67,468 pass, with the same counts as on rhel/9.

Original release (2026-11-26, 22005d5).

v3.0.3 (d3d3390) plus a fixed llvm-vortex, the bundles built with it (libc, libcrt, rhel/9 pocl), fixed Foldsim and Beacon, and a new Vulkan loader bundle. Every other bundle is byte-identical to v3.0.3: CIRCT (orcaslab/circt 90c5fd313), verilator, yosys, sta, riscv-gnu, chipStar, mesa-vortex, the ubuntu/focal pocl, sv2v, gem5 and SLASH.

  • llvm-vortex (ubuntu/focal, rhel/9): vortex_3.x @ a0df07abbec2 ("A join is never duplicated": VX_JOIN is not duplicable), built as before (ubuntu:22.04 GCC 11.4; EL9 system GCC 11), with llvm-spirv. v3.0.3's a81a5957f406 duplicated vx_join blocks, which emptied the IPDOM stack at run time ("IPDOM stack is empty!") and crashed the register allocator. It also crashed on musl's wordexp.c, lookup_serv.c and resolvconf.c (invalid vx_split/vx_join dominance after instruction selection) and never finished getgr_a.c. With a0df07abbec2 all four compile in about a second and pass -verify-machineinstrs. Same installed file list as v3.0.3 (the focal bundle drops a stale include/llvm/IR/IntrinsicsRISCVXVortex.td, deleted upstream).
  • libc32/libc64: musl v1.2.5 rebuilt with a0df07abbec2. The previous libc was compiled on 2026-05-17 by llvm-vortex 87f0227cb, whose divergent-branch lowering turned a >= select into > (fixed by llvm-vortex 69af3fd0084d): musl's rint, and nearbyint through it, returned -0.0 for +0.0 on RV64. Same 245 files and 1346 objects as before. riscv32 setjmp/longjmp use fsw/flw under ilp32f (as in v3.0). No per-file workaround is needed any more.
  • libcrt32/libcrt64: compiler-rt builtins and crtbegin/crtend from the a0df07abbec2 sources, built with that compiler (the old ones were also 87f0227cb). Same 155 (rv64) and 156 (rv32) archive members as before.
  • pocl (rhel/9): vortex_3.x @ 471f88096 (the source of both v3.0.3 bundles) built natively on EL9 (system GCC 11) against the rhel/9 a0df07abbec2. v3.0.3's rhel/9 slot held a focal binary linked against a81a5957f406, which imports the old createLoadStoreVectorizerPass() and does not load with the new LLVM. Same ICD layout as the focal bundle (lib/libpocl.so*, etc/OpenCL/vendors/pocl.icd, rv32 and rv64 kernel bitcode) plus include/CL, since EL9 ships no OpenCL headers. libpocl resolves all of its LLVM imports and loads under LD_BIND_NOW. The ubuntu/focal pocl, chipStar and mesa-vortex resolve all of theirs against the new LLVM and are unchanged.
  • Beacon (ubuntu/focal, rhel/9): orcaslab/beacon main @ 134d03b, three fixes to the depth mapping. Module bodies that two instances share are now mapped in context (beacon-inline-shared, at most 25 % more ops). (N-1) - i index reversals are no longer timed as carry chains (beacon-lower-complement). a[i][w] <= 1 updates no longer keep a read mux under the write (beacon-inject-in-place). The area mapping is unchanged. check-beacon 26/26 on both OSes.
  • Foldsim (ubuntu/focal, rhel/9): orcaslab/foldsim main @ 5f4df13 = 7b990bb (lane-scan crash fix: the v3.0.3 foldsim-opt segfaulted in Scan::matchPatterns on every design with a rotated chain, because GCC treats a for-condition variable read in the loop step as dead) with its third_party/beacon moved to 134d03b, so Foldsim's built-in depth model matches the Beacon above. CIRCT 90c5fd313, built as in v3.0.3. check-foldsim with Verilator 5.050: 289 passed, 1 unsupported, 0 failed on both OSes.
  • vulkan-loader (new): Khronos Vulkan-Loader v1.4.369 (lib/libvulkan.so*), ubuntu/focal built in ubuntu:22.04, rhel/9 in almalinux:9 (glibc <= 2.34, only libc/libm linked), with the XCB, Xlib, Xrandr and Wayland WSI and the distribution search paths (SYSCONFDIR=/etc). Its own test suite: 702/702 on both. Loaders before v1.4.333 (EL9 ships 1.4.328.1) close the ICD twice when an allocation fails in vkCreateInstance (upstream dc509c2de); CTS api.device_init.create_instance_device_intentional_alloc_fail crashed with the EL9 loader and passes with this one, and api.device_init gives 241 Pass, 11 NotSupported, 0 Crash. Installed by Vortex ci/toolchain_install.sh --vulkan-loader (needs the Vortex change that moves TOOLCHAIN_REV to v3.0.4).

Checked on SimX with the new compiler, libc, libcrt and pocl:

  • rhel/9 (staged tree; installed tree byte-identical): rint, nearbyint, rintf and nearbyintf on +-0, +-0.5, +-1.5, +-2.5, NaN and +-inf, one thread and one input per lane: all pass on RV64 and RV32 (with the v3.0.3 libc64, RV64 returned -0.0 for +0.0). OpenCL tests/opencl run-simx (33 tests): 33/33 on x64 and x32. Vulkan rtquery, tex_fetch, blend and tess on x64 and x32: all pass, no device-compiler failure, no IPDOM-stack error.
  • ubuntu/focal, installed in a clean ubuntu:22.04: rint all pass on RV64 and RV32; OpenCL run-simx 33/33 on x64 and x32. clang, foldsim-opt, beacon-opt and libvulkan.so.1 need at most glibc 2.34.

v3.0.3 (2026-11-25, CIRCT/Beacon/Foldsim refreshed and rhel/9 added the same day)

Refresh. CIRCT, Beacon and Foldsim are rebuilt on orcaslab/circt main @ 90c5fd313. That commit fixes the memory use of CIRCT's cut-based mapping (Synth CutRewriter), which circt-opt, Beacon's beacon-opt and Foldsim use. The enumerator now frees the cuts nothing reads any more. Before, it kept every candidate cut of every node until the module was done. Results are byte-identical. beacon run max RSS: core 3.57 -> 0.73 GB, gpu32_full 30.3 -> 7.27 GB, gpu_rtx5080 > 64 GB (OOM-killed) -> 26.4 GB. The Beacon (4060e3af4) and Foldsim (50551085) sources are unchanged. circt-verilog now prints CIRCT 90c5fd313. Vortex's Beacon gate keys its baselines on that line, so baselines recorded with ab733d13d read STALE until they are re-recorded.

  • ubuntu/focal: circt, beacon and foldsim rebuilt in ubuntu:22.04 (GCC 11.4), as before. circt is still one part.
  • rhel/9 (new for these three): built natively on RHEL 9.8 with gcc-toolset-13 (libstdc++ static, glibc <= 2.34). EL9 hosts no longer need to patch the focal circt-verilog, which binds hypot@GLIBC_2.35.

Original release:

v3.0.2 plus CIRCT, Foldsim, Beacon (new) and SLASH from their orcaslab main branches, the organization the forks moved to. Every other bundle is unchanged from v3.0.2. All four are built in an ubuntu:22.04 container (GCC 11.4, glibc 2.35, Python 3.10), the CI runners' release, and sit in the ubuntu/focal folders that Vortex's configure selects on 20.04, 22.04 and 24.04. The v3.0.2 tag is unchanged.

  • CIRCT: circt-verilog, circt-opt and firtool from orcaslab/circt main @ ab733d13d, built as Vortex ci/circt_install.sh builds it (Release, slang frontend, libstdc++ static). Only glibc is linked dynamically. One 50 MB part.
  • Foldsim: orcaslab/foldsim main @ 50551085, built on that CIRCT. Ships bin/ (the foldsim driver, foldsim-opt, foldsim-lift) and the FPGA shell (share/foldsim). The Beacon passes left it for Beacon. This build includes the fixes for GCC and Python 3.10: a crash of foldsim-opt on folds with pages in HBM (a read of freed stack), compiler-dependent op order in the fame5 pass, and --manifest reading TOML with tomli on Python 3.10 (apt install python3-tomli). check-foldsim passes.
  • Beacon (new): orcaslab/beacon main @ 4060e3af4, built on that CIRCT: the beacon driver, beacon-opt, the gate summary and path tools, and the calibrations (bin/). It replaces Vortex's in-tree ci/beacon.py. Install it with toolchain_install.sh --beacon. check-beacon passes.
  • SLASH 1.0.0 (optional, manual install): the Alveo V80 userspace from orcaslab/slash main @ 29eb84fb, packed from its Debian packages without the Vivado static shell. The code is the v3.0.2 bundle's, from the orcaslab history; 29eb84fb lets its Debian packaging build on 22.04 (dh-dkms | dkms (<< 3.0)). Built on 22.04 now, so the Python package moves to lib/python3.10/dist-packages. Needs libjsoncpp25, libxml2, libzmq5, libinih1, python3-jinja2. Not used by CI or toolchain_install.sh.

Checked from the extracted tarballs on a clean ubuntu:22.04: the CIRCT and Beacon binaries load with glibc alone and run; v80-smi, vrtd and slashkit run with the libraries above. Vortex's Beacon gates (14 Xilinx and 14 ASIC builds) run with these CIRCT and Beacon bundles and pass against baselines re-recorded with them.

v3.0.2 (2026-11-08, pocl refreshed 2026-11-18)

v3.0.1 plus a new LLVM, the pocl rebuilt on it, and two new tools. The LLVM changes code generation, so instruction and cycle counts move against baselines recorded with v3.0.1. The v3.0.1 tag stays on its 2026-11-02 refresh.

  • LLVM (ubuntu/focal): llvm-vortex rebuilt at vortex_3.x @ f44a6bb2af4c. Adds the XVortex wide loads and stores (vx_flw.d/.q, vx_fsw.d/.q) behind the new +xvortexldstwide target feature, and 64-bit atomics on RV32 register pairs behind +xvortexamod. Also register-group and divergence codegen fixes. A __UNIFORM__ local is promoted to a register instead of being reloaded from the stack. With +xvortex alone no new instruction is emitted. llvm::createLoadStoreVectorizerPass now takes an optional function filter. The rhel/9 bundle is still a81a5957f406.
  • pocl (ubuntu/focal): the same source (vortex_3.x @ 5e06f2f44) and configuration, rebuilt against that LLVM. libpocl now resolves every LLVM symbol it imports. The previous build referenced the old createLoadStoreVectorizerPass() and failed to load under LD_BIND_NOW.
  • pocl refresh (2026-11-18): rebuilt at vortex_3.x @ 471f88096 with the same configuration and LLVM. barrier() and mem_fence() now emit the fence their memory scope needs. atomic_cmpxchg is correct under contention within a warp. atomic_xchg on float and the atom_* names of the cl_khr_*_int32_*_atomics extensions are added. An image's texture descriptor is rewritten only when it changes.
  • CIRCT (new): circt-verilog, circt-opt and firtool from vortexgpgpu/circt vortex_3.x @ 892a65a01. These are the SystemVerilog frontend of the Vortex synthesis flows. They lower processes that drive several interface ports, fold zero-width comparisons, keep RAM initial contents and keep port attributes. libstdc++ is linked statically.
  • Foldsim (new): vortexgpgpu/foldsim @ d8350bc, built on that CIRCT. Ships the foldsim driver, foldsim-opt (Beacon foldsim-estimate-timing and foldsim-estimate-area), foldsim-lift and the FPGA shell (share/foldsim). Install it with toolchain_install.sh --foldsim.
  • SLASH 1.0.0 (optional, manual install): the Alveo V80 userspace (slashkit, VRT, vrtd, v80-smi, headers and CMake configs) from vortexgpgpu/SLASH vortex_3.x @ 720754bb. vrtd no longer writes a design the card already holds, as XRT does for an xclbin: slashkit stamps a UUID into each vbin, vrtd remembers the UUID it wrote, VRT_FORCE_PROGRAM=1 writes anyway, v80-smi forget-design reports a design loaded over JTAG, and a design another client uses cannot be replaced. The daemon's request format and the client libraries' ABI changed while their SONAMEs did not: the daemon and the libraries must come from the same build, and a program built against an earlier SLASH must be rebuilt. Built on Ubuntu 24.04 (glibc 2.38, Python 3.12); not used by CI or toolchain_install.sh. See Vortex docs/xilinx_slash_setup.md.

v3.0.1 (refreshed 2026-11-02)

  • RHEL 9 (rhel/9): new per-OS slot for EL9 hosts (RHEL, Rocky, AlmaLinux, CentOS Stream 9). The ubuntu/focal builds need glibc 2.35 / GLIBCXX_3.4.30 and do not load there. Built natively on RHEL 9.8 (glibc 2.34, GCC 11): llvm-vortex (vortex_3.x @ a81a5957f406, + llvm-spirv), verilator 5.050, yosys 0.69 and sta (OpenSTA 2f6ccdae). The pocl, chipstar and mesa-vortex focal binaries are copied unchanged, because they already fit EL9 and link the rhel/9 LLVM ABI. The Vortex installer reuses the ubuntu/focal riscv-gnu and sv2v bundles for rhel/9. No gem5 bundle.

v3.0.1 (refreshed 2026-10-04)

  • LLVM: llvm-vortex rebuilt at vortex_3.x @ cd5be82eb447: divergence lowering in large kernels, SimplifyCFG/LowerSwitch order, register-group copies, late vector-op legalization.
  • mesa-vortex: rebuilt at vortex_3.x @ a5650eba435 against Vortex master 6f372b0ae (Vulkan ray-tracing pipelines on the RTU).
  • POCL: rebuilt at vortex_3.x @ 5e06f2f44 against Vortex master 6f372b0ae (both XLEN kernel libraries): by-value struct kernel arguments passed inline, single-precision exp in float arithmetic.
  • FireSim and SLASH removed. Both are platform stacks an administrator installs once per machine — like XRT, which was never packaged here — and CI never consumed either. The matching toolchain_install.sh --firesim / --slash flags are gone from the Vortex repo; install instructions live in docs/building_toolchain.md (FireSim) and docs/xilinx_slash_setup.md (SLASH).

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/fsd → flw/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

11 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors