No description
  • C++ 35%
  • SystemVerilog 19.3%
  • PostScript 19%
  • C 9.4%
  • Verilog 8.3%
  • Other 9%
Find a file
tinebp c992f3f35f
Some checks failed
CI / setup (ubuntu-22.04) (push) Has been cancelled
CI / build (ubuntu-22.04, 32) (push) Has been cancelled
CI / build (ubuntu-22.04, 64) (push) Has been cancelled
CI / tests (amo, ubuntu-22.04, 32) (push) Has been cancelled
CI / tests (amo, ubuntu-22.04, 64) (push) Has been cancelled
CI / tests (cache, ubuntu-22.04, 32) (push) Has been cancelled
CI / tests (cache, ubuntu-22.04, 64) (push) Has been cancelled
CI / tests (config1, ubuntu-22.04, 32) (push) Has been cancelled
CI / tests (config1, ubuntu-22.04, 64) (push) Has been cancelled
CI / tests (config2, ubuntu-22.04, 32) (push) Has been cancelled
CI / tests (config2, ubuntu-22.04, 64) (push) Has been cancelled
CI / tests (cupbop, ubuntu-22.04, 32) (push) Has been cancelled
CI / tests (cupbop, ubuntu-22.04, 64) (push) Has been cancelled
CI / tests (debug, ubuntu-22.04, 32) (push) Has been cancelled
CI / tests (debug, ubuntu-22.04, 64) (push) Has been cancelled
CI / tests (dtm, ubuntu-22.04, 32) (push) Has been cancelled
CI / tests (dtm, ubuntu-22.04, 64) (push) Has been cancelled
CI / tests (dxa, ubuntu-22.04, 32) (push) Has been cancelled
CI / tests (dxa, ubuntu-22.04, 64) (push) Has been cancelled
CI / tests (gem5, ubuntu-22.04, 32) (push) Has been cancelled
CI / tests (gem5, ubuntu-22.04, 64) (push) Has been cancelled
CI / tests (hip, ubuntu-22.04, 32) (push) Has been cancelled
CI / tests (hip, ubuntu-22.04, 64) (push) Has been cancelled
CI / tests (mpi, ubuntu-22.04, 32) (push) Has been cancelled
CI / tests (mpi, ubuntu-22.04, 64) (push) Has been cancelled
CI / tests (opencl, ubuntu-22.04, 32) (push) Has been cancelled
CI / tests (opencl, ubuntu-22.04, 64) (push) Has been cancelled
CI / tests (regression, ubuntu-22.04, 32) (push) Has been cancelled
CI / tests (regression, ubuntu-22.04, 64) (push) Has been cancelled
CI / tests (rvc, ubuntu-22.04, 32) (push) Has been cancelled
CI / tests (rvc, ubuntu-22.04, 64) (push) Has been cancelled
CI / tests (scope, ubuntu-22.04, 32) (push) Has been cancelled
CI / tests (scope, ubuntu-22.04, 64) (push) Has been cancelled
CI / tests (sst, ubuntu-22.04, 32) (push) Has been cancelled
CI / tests (sst, ubuntu-22.04, 64) (push) Has been cancelled
CI / tests (stress, ubuntu-22.04, 32) (push) Has been cancelled
CI / tests (stress, ubuntu-22.04, 64) (push) Has been cancelled
CI / tests (synthesis, ubuntu-22.04, 32) (push) Has been cancelled
CI / tests (synthesis, ubuntu-22.04, 64) (push) Has been cancelled
CI / tests (tensor, ubuntu-22.04, 32) (push) Has been cancelled
CI / tests (tensor, ubuntu-22.04, 64) (push) Has been cancelled
CI / tests (tensor_mx, ubuntu-22.04, 32) (push) Has been cancelled
CI / tests (tensor_mx, ubuntu-22.04, 64) (push) Has been cancelled
CI / tests (tensor_sp, ubuntu-22.04, 32) (push) Has been cancelled
CI / tests (tensor_sp, ubuntu-22.04, 64) (push) Has been cancelled
CI / tests (tensor_wg, ubuntu-22.04, 32) (push) Has been cancelled
CI / tests (tensor_wg, ubuntu-22.04, 64) (push) Has been cancelled
CI / tests (vm, ubuntu-22.04, 32) (push) Has been cancelled
CI / tests (vm, ubuntu-22.04, 64) (push) Has been cancelled
CI / tests (vulkan, ubuntu-22.04, 32) (push) Has been cancelled
CI / tests (vulkan, ubuntu-22.04, 64) (push) Has been cancelled
CI / complete (push) Has been cancelled
Merge pull request #374 from vortexgpgpu/feature_mx
TFR optimizations + MX suport
2026-06-22 00:38:58 -07:00
.github/workflows tfr optimizations 2026-06-19 03:31:54 +00:00
ci tfr optimizations 2026-06-19 03:31:54 +00:00
docs terminology fixes 2026-06-19 13:31:08 +00:00
hw added perf/tcu csvs 2026-06-21 19:40:33 +00:00
miscs hw/syn: make full Vortex yosys-synthesizable + synthesis-flow support 2026-06-01 02:51:58 -07:00
perf added perf/tcu csvs 2026-06-21 19:40:33 +00:00
sim added sgemm_tcu_sp_mx + SF calc refactoring 2026-06-20 14:34:49 +00:00
sw added sgemm_tcu_sp_mx + SF calc refactoring 2026-06-20 14:34:49 +00:00
tests added perf/tcu csvs 2026-06-21 19:40:33 +00:00
third_party gfx migration: full TLM-aligned simx + RTL CSR plumbing for draw3d 2026-05-06 02:20:58 -07:00
trace TCU with local accumulator 2026-05-04 02:31:38 -07:00
.clang-format adding clang-format file 2024-12-05 15:58:04 -08:00
.gitignore DXA refactoring 2026-05-04 02:31:39 -07:00
.gitmodules gfx migration: full TLM-aligned simx + RTL CSR plumbing for draw3d 2026-05-06 02:20:58 -07:00
AGENTS.md chore(release): prepare for v3.0 release 2026-06-08 18:16:30 -07:00
CHANGELOG.md added mx datapath 2026-06-19 03:31:53 +00:00
ci_xlen32.sh ci: fix XLEN=32/64 regression bring-up + RTL lint-pragma cleanup 2026-05-27 19:37:26 -07:00
ci_xlen64.sh ci: fix XLEN=32/64 regression bring-up + RTL lint-pragma cleanup 2026-05-27 19:37:26 -07:00
config.mk.in build: re-derive XCONFIGS per consumer Makefile 2026-05-27 06:31:54 -07:00
configure build: update README for V3.0 and add --installdir alias to configure 2026-06-08 18:54:24 -07:00
CONTRIBUTING.md docs: add CHANGELOG.md + CONTRIBUTING.md + bug_fixes.md, refactor AGENTS.md, sync doc set to v3.0 2026-05-24 21:49:02 -07:00
LICENSE Vortex 2.0 changes: 2023-10-19 20:51:22 -07:00
Makefile.in gfx: bug fixes — EdgeEquation c2, raster bus begin_pulse, gfx_tex format, NUM_BANKS pow-of-2, on-wire ABI consolidation 2026-05-26 22:57:36 -07:00
README.md build: update README for V3.0 and add --installdir alias to configure 2026-06-08 18:54:24 -07:00
VERSION gem5 integration: VortexGPGPU device + x86/ARM host runtime + e2e tests 2026-05-18 02:48:21 -07:00
vortex.cfg Update remote_bitbang_port in vortex.cfg from 9824 to 9823 and change configuration comment from Multi-Hart to Single-Hart. 2025-12-09 19:51:36 +00:00
vortex_opae.toml workspace reorg: split sw/, sim/common, root tomls 2026-05-04 02:31:46 -07:00
VX_config.toml added mx datapath 2026-06-19 03:31:53 +00:00
VX_types.toml cache+mpm: writeback L2/L3 with eviction tracking and per-cache MPM classes 2026-06-13 16:10:34 -07:00

Vortex GPGPU

Vortex is a full-stack open-source RISC-V GPGPU. Vortex supports multiple backend drivers, including our C++ simulator (simx), an RTL simulator, and physical Xilinx and Altera FPGAs-- all controlled by a single driver script. The chosen driver determines the corresponding code invoked to run Vortex. Generally, developers will prototype their intended design in simx, before completing going forward with an RTL implementation. Alternatively, you can get up and running by selecting a driver of your choice and running a demo program.

Website

Vortex news can be found on its website

Citation

@inproceedings{10.1145/3466752.3480128,
	author = {Tine, Blaise and Yalamarthy, Krishna Praveen and Elsabbagh, Fares and Hyesoon, Kim},
	title = {Vortex: Extending the RISC-V ISA for GPGPU and 3D-Graphics},
	year = {2021},
	isbn = {9781450385572},
	publisher = {Association for Computing Machinery},
	address = {New York, NY, USA},
	url = {https://doi.org/10.1145/3466752.3480128},
	doi = {10.1145/3466752.3480128},
	abstract = {The importance of open-source hardware and software has been increasing. However, despite GPUs being one of the more popular accelerators across various applications, there is very little open-source GPU infrastructure in the public domain. We argue that one of the reasons for the lack of open-source infrastructure for GPUs is rooted in the complexity of their ISA and software stacks. In this work, we first propose an ISA extension to RISC-V that supports GPGPUs and graphics. The main goal of the ISA extension proposal is to minimize the ISA changes so that the corresponding changes to the open-source ecosystem are also minimal, which makes for a sustainable development ecosystem. To demonstrate the feasibility of the minimally extended RISC-V ISA, we implemented the complete software and hardware stacks of Vortex on FPGA. Vortex is a PCIe-based soft GPU that supports OpenCL and OpenGL. Vortex can be used in a variety of applications, including machine learning, graph analytics, and graphics rendering. Vortex can scale up to 32 cores on an Altera Stratix 10 FPGA, delivering a peak performance of 25.6 GFlops at 200 Mhz.},
	booktitle = {MICRO-54: 54th Annual IEEE/ACM International Symposium on Microarchitecture},
	pages = {754766},
	numpages = {13},
	keywords = {reconfigurable computing, memory systems., computer graphics},
	location = {Virtual Event, Greece},
	series = {MICRO '21}
}

Specifications

  • Support RISC-V RV32IMAFC and RV64IMAFDC

  • Microarchitecture:

    • configurable number of cores, warps, and threads.
    • configurable number of ALU, FPU, LSU, and SFU units per core.
    • graphics fixed-function pipeline (rasterizer, texture units, output mergers).
    • tensor cores with WGMMA and 2:4 structured sparsity support.
    • hardware-accelerated command processor and kernel management unit.
    • configurable pipeline issue width.
    • optional local memory, L1, L2, and L3 caches.
  • Software:

    • OpenCL 1.2
    • Vulkan
    • HIP
  • Supported FPGAs:

    • Altera Arria 10
    • Altera Stratix 10
    • Xilinx Alveo U50, U55C, U250, U280
    • Xilinx Versal VCK5000

Directory structure

  • doc: Documentation.
  • hw: Hardware sources.
  • sw: Software sources (kernel, runtime, and drivers).
  • sim: Simulators repository.
  • tests: Tests repository.
  • ci: Continuous integration scripts.
  • miscs: Miscellaneous resources.
  • VX_config.toml / VX_types.toml: Hardware configuration system.

Quick Start

If you are interested in a stable release of Vortex, you can download the latest release here. Otherwise, you can pull the most recent, but (potentially) unstable version as shown below. The following steps demonstrate how to build and run Vortex with the default driver: SimX. If you are interested in a different backend, look here.

Supported OS Platforms

  • Ubuntu 22.04
  • Centos 7

Toolchain Dependencies

The following dependencies will be fetched prebuilt by toolchain_install.sh.

Install Vortex codebase

	git clone --depth=1 --recursive https://github.com/vortexgpgpu/vortex.git
	cd vortex

Install system dependencies

# ensure dependent libraries are present
sudo ./ci/install_dependencies.sh

Configure your build folder

    mkdir build
    cd build
    # for 32bit
    ../configure --xlen=32 --tooldir=$HOME/tools
    # for 64bit
    ../configure --xlen=64 --tooldir=$HOME/tools

Install prebuilt toolchain

   ./ci/toolchain_install.sh

Building and installing Vortex

make -s
make install
export VORTEX_PATH=$(pwd)/install
export PKG_CONFIG_PATH=$VORTEX_PATH/lib/pkgconfig:$PKG_CONFIG_PATH

make install lays out a sysroot under $VORTEX_PATH containing the public headers, libraries, and vortex-runtime.pc / vortex-kernel.pc pkg-config files. Downstream tools (mesa-vortex, pocl-vortex, chipstar) integrate with Vortex exclusively through $VORTEX_PATH and pkg-config — the same shape as the CUDA, ROCm and oneAPI SDKs. The source tree ($VORTEX_HOME) and build tree ($VORTEX_BUILD_DIR) are internal to Vortex and not exposed to consumers. Override the install root with ../configure --prefix=<path> or --installdir=<path> (default <build>/install).

Quick demo running vecadd OpenCL kernel on 2 cores

./ci/blackbox.sh --cores=2 --app=vecadd

Common Developer Tips

  • Building Vortex 64-bit requires setting --xlen=64 configure option.
../configure --xlen=64 --tooldir=$HOME/tools
  • No shell environment setup is required. ../configure bakes the full toolchain layout (paths, XCONFIGS, every tool binary) into the build dir's config.mk and domain common.mk files. Make recipes invoke tools by absolute path ($(VERILATOR_PATH)/bin/verilator etc.), so multiple Vortex trees on the same machine can coexist without any ~/.bashrc sourcing.
  • Making changes to Makefiles in your source tree or adding new folders will require executing the "configure" script again without any options to get changes propagated to your build folder.
../configure
  • To debug the GPU, the simulation can generate a runtime trace for analysis. See /docs/debugging.md for more information.
./ci/blackbox.sh --app=demo --debug=3