Discover and explore top open-source AI tools and projects—updated daily.
THU-DSP-LABRISC-V GPGPU processor design and toolchain
Top 43.2% on SourcePulse
Summary
Ventus-GPGPU is an open-source project developing a high-performance GPGPU processor based on the RISC-V architecture and its Vector Extension (RVV). It targets researchers and developers seeking a flexible, customizable GPU hardware platform, offering a foundation for advanced computing and AI workloads.
How It Works
Developed using the Chisel HDL, Ventus implements a GPGPU architecture supporting RISC-V ISA extensions. Its core approach leverages a modular design, with a software toolchain built on LLVM for OpenCL C compilation, enabling integration with standard GPU programming models. The architecture emphasizes performance through its RISC-V vector capabilities and a custom Verilator-based simulation framework.
Quick Start & Requirements
make init to set up dependencies.make, parallel, wget, cmake, ninja, mill, dtc, verilator, git, llvm, clang, lld, protobuf, antlr4, numactl. Java 17+ is recommended. Specific package managers are detailed for Arch Linux (pacman) and Ubuntu (apt-get).make idea or make bsp for IDE support, make verilog to generate Verilog, and make test to run simulations.Highlighted Details
chiseltest limitations..metadata) and data (.data) files are provided for kernel development.Maintenance & Community
The project actively calls for contributors, with contact information provided for those interested in hardware design, verification, or toolchain development. Community engagement is encouraged via GitHub pull requests and issue reporting. The project website is opengpgpu.org.cn. Design modules are inspired by or reused from other open-source projects like MIAOW, Sifive's cache, XiangShan, and RocketChip.
Licensing & Compatibility
The primary license is the Mulan Permissive Software License, Version 2 (Mulan PSL v2). Specific files (build.sc, common.sc, shell.nix, config.scala) are under Apache License 2.0. ALU.scala is dual-licensed under Apache 2.0 and BSD 3-Clause. These licenses are generally permissive, but users should review Mulan PSL v2 for specific commercial use implications.
Limitations & Caveats
The project acknowledges significant areas for improvement in its RVV compiler toolchain, verification environment, and hardware design. Some setup tutorial commands may be outdated. The project is actively seeking contributions, indicating ongoing development and potential for evolving APIs or features.
1 week ago
Inactive
luminal-ai
AnswerDotAI
ztxz16