[Paper Review] Vortex: OpenCL Compatible RISC-V GPGPU
Vortex presents an open-source, RISC-V-based General-Purpose GPU (GPGPU) with a minimal SIMT extension to the RISC-V ISA, enabling native execution of OpenCL programs. It integrates a custom microarchitecture, extended POCL runtime for RISC-V, and demonstrates portability and performance on a subset of Rodinia benchmarks using 15nm technology, achieving improved energy efficiency with optimal thread and warp configurations.
The current challenges in technology scaling are pushing the semiconductor industry towards hardware specialization, creating a proliferation of heterogeneous systems-on-chip, delivering orders of magnitude performance and power benefits compared to traditional general-purpose architectures. This transition is getting a significant boost with the advent of RISC-V with its unique modular and extensible ISA, allowing a wide range of low-cost processor designs for various target applications. In addition, OpenCL is currently the most widely adopted programming framework for heterogeneous platforms available on mainstream CPUs, GPUs, as well as FPGAs and custom DSP. In this work, we present Vortex, a RISC-V General-Purpose GPU that supports OpenCL. Vortex implements a SIMT architecture with a minimal ISA extension to RISC-V that enables the execution of OpenCL programs. We also extended OpenCL runtime framework to use the new ISA. We evaluate this design using 15nm technology. We also show the performance and energy numbers of running them with a subset of benchmarks from the Rodinia Benchmark suite.
Motivation & Objective
- To address the lack of open-source, full-stack RISC-V GPGPU systems supporting OpenCL.
- To enable efficient, energy-optimized execution of data-parallel workloads on RISC-V using a SIMT execution model.
- To extend the POCL OpenCL runtime and toolchain to support native execution on a RISC-V-based GPU.
- To demonstrate portability and performance of the Vortex architecture using a subset of the Rodinia benchmark suite.
- To provide a fully open-source, extensible foundation for future RISC-V GPGPU research.
Proposed method
- Extending the RISC-V RV32IM ISA with five new instructions to support SIMT execution, enabling thread-level parallelism and control divergence handling.
- Designing a configurable SIMT-based microarchitecture using Synopsys libraries and RTL, targeting 15nm technology with full place-and-route synthesis.
- Implementing a native Vortex runtime library and modifying the POCL OpenCL compiler and runtime to support device-specific kernel compilation and execution.
- Using simX, a cycle-accurate C++ simulator, to evaluate performance and power with reduced data sets and warmed-up caches to reduce simulation time.
- Performing power and area analysis via synthesis using a 15nm educational library and Innovus for place-and-route, with GDS layout and power density mapping.
- Applying control divergence support via custom __if/__endif macros in kernel code, enabling conditional execution across threads without runtime overhead.
Experimental results
Research questions
- RQ1Can a minimal RISC-V ISA extension enable efficient, portable execution of OpenCL kernels on a GPGPU?
- RQ2How does the performance and energy efficiency of the Vortex GPGPU vary with different thread and warp configurations across diverse workloads?
- RQ3To what extent can the POCL OpenCL stack be extended to support a new RISC-V-based GPU with SIMT semantics?
- RQ4What is the impact of cache behavior and data set size on scalability and performance in a RISC-V GPGPU under simulation?
- RQ5How does the Vortex architecture compare in efficiency and configurability to existing RISC-V accelerators like Ara and Hwacha?
Key findings
- The Vortex GPGPU achieves improved performance and energy efficiency by optimizing thread and warp configurations, with the most efficient design varying per benchmark.
- The 32 threads × 2 warps configuration showed the best power efficiency for most benchmarks, except BFS, which benefited most from 32 warps × 32 threads due to irregular memory access patterns.
- Performance improved with increased thread count (SIMD width), but gains from increasing warps were limited due to high cache hit rates from reduced data sets and warm caches.
- The simX simulator achieved 94% cycle-accuracy compared to the Verilog RTL model, validating its use for performance and power evaluation.
- The power density map shows well-distributed power with higher consumption in memory units (GPR, data cache, instruction cache, shared memory), indicating thermal hotspots.
- The Vortex design successfully runs a subset of Rodinia benchmarks using the extended POCL stack, demonstrating full-stack compatibility and portability.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.