Iyo VeriGPU chirongwa chakazivisa kuvandudzwa kweGPU yakavhurika

Iyo purojekiti VeriGPU yakavhurwa mazuva mashoma apfuura yatanga basa rekugadzira GPU yakavhurika, iyo inotarisira kugadzirwa pasi pemutauro wekuenzanisira uye tsananguro yemagetsi masisitimu Verilog.

Kune avo vasina kujairana neVeriGPU, unofanirwa kuziva kuti yakamisikidzwa seApplication Specific processor (ASIC) yakagadziridzwa kuti ikurumidze kuverenga zvine chekuita nemasisitimu ekudzidza muchina.

nzira yekutanga, purojekiti iri kugadzirwa uchishandisa Verilog simulator, asi kana yagadzirwa, inogona kushandiswa kugadzira machipisi chaiwo.

Zvirongwa zvinosanganisira tsigiro yePyTorch yakadzika yekudzidza chimiro uye kugona kugadzira zvikumbiro zveVeriGPU uchishandisa HIP (Heterogeneous Computing Interface) API. Mune ramangwana, kubatanidzwa kwerutsigiro kune mamwe maAPI, akadai seSYCL neNVIDIA CUDA, haabviswe.

Izvo zvakakosha kutaura izvozvo kuvandudzwa kweGPU iyi kwakanangana nekudzidziswa kwemichina. Saka inofanirwa kutsigira ikozvino muchina kudzidza masisitimu akadai sePyTorch uye Tensorflow, izvi zvinoreva kuti inenge inoda kutsigira NVIDIA CUDA kana AMD HIP.

Kunyangwe zvichitaurwawo izvozvo Ndinoziva kuti ndinogona kushandisa OpenCL kana SYCL interface, kunyange zvazvo tsigiro yezvirongwa zvikuru parizvino ishoma. Kune yakatsaurirwa OpenCL yakadzama yekudzidza sisitimu muDeepCL, asi ine shoma shoma seti yeneural network layer uye inokwanisika network topologies, zvichienzaniswa nePyTorch uye Tensorflow.

Parizvino, isu hatisi kuronga kuita kunze-kwe-odha, kureva kutanga rairo imwe isati yatanga, nekuti izvi zvinonyepa mune imwechete yekuraira multithreading (SIMT) mamiriro, uye nekuti izvi zvinoita macores anoshandisa yakawanda kufa nzvimbo. , uye naizvozvo vashoma munhamba (kana kuti inodhura).

Nekune rimwe divi, isu tichashandisa parallel rairo execution, apo isu tinotanga rairo apo rairo yapfuura ichiri kuita. Izvi zvakajairwa uye zvine huremu huremu, hazvitore nzvimbo yakawandisa yekufa.

Hapana caching yemhando ipi neipi iri kuitwa parizvino (hapana nhanho 1, hapana nhanho 2, hapana nhanho 3, kwete kunyange yekuraira caching: P). Sezvo ini ndichifunga kugadzira GPU, ine imwe cache mashandiro pane iyo CPU, ini ndichafunga nezvazvo kana yangotanga kutaridzika kunge GPU.

Iyo GPU inoshanduka zvichibva pane iyo RISC-V yekuraira set, asi inoguma yemukati yeGPU yekuraira set architecture haina kuenderana neRISC-V ISA, sezvo mumamiriro ezvinhu apo iyo GPU marongero haienderane neRISC-V kupa, mukuwedzera pakusaisa basa rekuchengetedza kuenderana neRISC-V. .

Kubva pakuvandudzwa inotarisa pane kugona kunodiwa kumichina yekudzidza masisitimusaka, kuderedza saizi uye kuoma kweiyo chip array, iyo BF16 inoyangarara-point fomati ndiyo chete inoshandiswa, uye chete inoyangarara-nzvimbo maoparesheni ari kudiwa pakudzidza muchina, senge exp, log, tanh, uye sqrt. iripo.

Pakati pezvinhu zvatove zviripo, semuenzaniso, mutyairi weGPU, APU (Accelerated Processing Unit) yemabasa akazara («+»,»-«,»/»,»*»), unit yezvinoyangarara nzvimbo («+ », »*») uye chikamu chebazi, pamwe nerutsigiro rweHIP compiler.

Nekugadzira mapurogiramu assembler uye rutsigiro rwekunyora C ++ kodhi inopihwa zvichibva paLLVM. Pazvinhu zvinotarisirwa, kuita kwakafanana kwemirairo, data caching uye ndangariro yekuraira, SIMT (Single Instruction Multiple Thread) mashandiro anomira pachena.

Pakupedzisira, kana iwe uchifarira kuziva zvakawanda nezvazvo nezve kuvandudzwa kweiyo yakavhurika sosi GPU, iwe unofanirwa kuziva kuti budiriro yeprojekiti yakagoverwa pasi peMIT rezinesi uye unogona kubvunza iyo kodhi, pamwe nekufambira mberi kweprojekiti kubva. chinotevera chinongedzo.


Izvo zviri muchinyorwa zvinoomerera pamisimboti yedu ye tsika dzekunyora. Kuti utaure chikanganiso tinya pano.

Iva wekutanga kutaura

Siya yako yekutaura

Your kero e havazobvumirwi ichibudiswa.

*

*

  1. Inotarisira data: AB Internet Networks 2008 SL
  2. Chinangwa cheiyo data: Kudzora SPAM, manejimendi manejimendi.
  3. Legitimation: Kubvuma kwako
  4. Kutaurirana kwedata
  5. Dhata yekuchengetedza: Dhatabhesi inobatwa neOccentus Networks (EU)
  6. Kodzero: Panguva ipi neipi iwe unogona kudzora, kupora uye kudzima ruzivo rwako