ICode9

精准搜索请尝试: 精确搜索
首页 > 其他分享> 文章详细

Nvidia CUDA Software Gets Ported to Open-Source RISC-V GPGPU Project

2022-02-15 14:00:45  阅读:241  来源: 互联网

标签:source GPGPU IR RISC Ported CUDA Nvidia GPU


IT要改成Internal Turn(内卷)的缩写了。:-)

Nvidia CUDA Software Gets Ported to Open-Source RISC-V GPGPU Project | Tom's Hardware (tomshardware.com)

RISC-V has been one of the hottest topics in the world of computing, as the Instruction Set Architecture (ISA) allows for extensive customization and is easy to understand, besides the whole open-source, license-free benefit. There's even a project that designed a general-purpose GPU based on RISC-V ISA, and now we are witnessing a port of Nvidia's CUDA software library to the Vortex RISC-V GPGPU platform.

Nvidia's CUDA (Compute Unified Device Architecture) represents a unique computing platform and application programming interface (API) that runs on Nvidia's lineup of graphics cards. When applications are coded for CUDA support, whenever a system spots a CUDA-based GPU, it gets massive GPU acceleration of the code.

Today, researchers have examined a way to enable CUDA software toolkit support on a RISC-V GPGPU project called Vortex. The Vortex RISC-V GPGPU aims to provide a full-system RISC-V GPU based on RV32IMF ISA. That means 32-bit cores that can be scaled from 1-core to 32-core GPU designs. It supports OpenCL 1.2 graphics API, and today it got support for some CUDA action as well.

The researchers explain: "...in this project we propose and build a pipeline to support an end-to-end CUDA migration: the pipeline accepts CUDA source codes as input and executes them on an extended RISC-V GPU architecture. Our pipeline consists of several steps: translates CUDA source code into NVVM IR, convert NVVM IR into SPIR-V IR, forwards SPIR-V IR into POCL to get RISC-V binary file, and finally executes the binary file on an extended RISC-V GPU architecture."

This process is visualized in the graph above, showing all the steps to get it working. In simple terms, CUDA source code is represented in the intermediate representation (IR) format called NVVM IR, based on the open-source LLVM IR. It is later converted to Standard Portable Intermediate Representation (SPIR-V) IR, then forwards that into the portable open-source implementation of the OpenCL standard called POCL. As Vortex supports OpenCL, it is fed with supported code and executes it without a problem.

For more details on this complicated process, check out this paper. And as an important note, you have to appreciate the effort of these researchers to enable CUDA to run on a RISC-V GPGPU. While this is only a small step for now, it is a possible beginning of an era where RISC-V is used for accelerated computing applications, very similar to what Nvidia is doing today with its GPU lineup.

作者中亚洲人占80%……

六级/考研单词: compute, instruct, besides, hardware, unify, accelerate, migrate, execute, translate, convert, graph, intermediate, implement, complicate, era

标签:source,GPGPU,IR,RISC,Ported,CUDA,Nvidia,GPU
来源: https://www.cnblogs.com/funwithwords/p/15896166.html

本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享;
2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关;
3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关;
4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除;
5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有