HPVM o se LLVM-faʻavae tuʻufaʻatasiga mo CPU, GPU, FPGA, ma saoasaoa

O le poloketi fausiaina Faʻamalolo le LLVM talu ai nei faʻasalalau le Heterogeneous Parallel Virtual Machine compiler (HPVM) 1.0, lea sini faafaigofie polokalame mo eseese vavaega faiga ma maua code gaosia mea faigaluega mo CPU, GPU, FPGA, ma masini faatelevaveina vaega faʻapitoa (lagolago mo FGPA ma faʻavaʻa e leʻi aofia ai i le lomiga 1.0).

Le manatu autu i tua atu ole HPVM o le tuʻufaʻatasia o se tuʻufaʻatasia o sui o polokalame faʻaaogaina i le taimi e tasi e mafai ona faʻaaogaina e tamoʻe i luga o le tele o tutusa meafaigaluega, e aofia ai GPU, vector faʻatonuga, multi-core processors, FPGAs, ma le tele faʻapitoa faʻavavevave chips.

Faʻapolokalameina mo feteʻenaʻiga tutusa vavave e faigata i le i ai i totonu o se faʻavae o vaega (CPU autu, faʻatonuga vector, GPUs, ma isi) o loʻo faʻaaogaina ni ituaiga faʻataʻitaʻiga e ausia tutusa, eseese faʻatonuga seti ma eseʻese faʻamanatuina hierarchies, ma o nei sisitema ei ai le tuʻufaʻatasia o o vaega na ua suia.

O le Illinois LLVM Compiler Research Group e fiafia e faʻasalalau le tatalaina o faʻavae tatala o le HPVM (version 1.0). HPVM o se toe faʻafouina faʻavae potopotoga faʻatulagaina CPU, GPUs, ma tagata faʻavavevave (o lenei tatalaina e le aofia ai le faʻavavevave lagolago) [1]. E faʻaaoga e le HPVM le IR-independent compiler IR e faʻalauteleina le LLVM 9.0.0 compiler IR ma se faʻamatalaga manino o faʻatonuga o faʻamatalaga e puʻeina ai galuega, faʻamaumauga, ma laina laina paipa.

Lenei lomiga o se taua faʻaopopo i la tatou muamua lomiga (lomiga 0.5), lea faʻaopopo lagolago mo linear algebra tensor faʻagaioiga, Pytorch ma Keras interfaces, latalata mo convolution faʻagaioiga, ma se lelei ma fetuʻutuʻunaʻi faʻafanua mo latalata talafeagai. 

E tatau ona maitauina o le faʻaaogaina o HPVM mafai ona ausia taua tele gaioiga maua talu mai eO le faʻatinoga o gaioiga a le au faʻaliliu upu HPVM e faʻatusatusa i le OpenCL code tusitusi lima mo masini komipiuta o le GPU ma le vector. E le pei o isi faiga, na taumafai le HPVM e tuʻufaʻatasia avanoa e tolu e faʻatulaga ai ni vavaega eseese: gagana ma masini-tutoʻatasi tutoʻatasi sui, faʻatonuga faʻatulagaina tuʻufaʻatasiga fale (V-ISA), ma tamoe polokalame.

Le tutoatasi tutoʻatasi sui (IR) o le polokalama faʻatutuina ma le gagana faʻatulagaina faʻaaogaina i le HPVM e faʻavae luga o le vaeluaina faʻatonuga o le LLVM 9.0 faʻatonuga ma faʻalauteleina ia ma se hierarchical faʻamatalaga tafe faʻafanua e ufiufi parallelism i le galuega, faʻamatalaga, ma computational paipa tulaga.

O le HPVM vailauga e iai foʻi faʻatonuga ma le manatuaina o mea. O le autu faʻamoemoe o le faʻaaogaina o faʻamatalaga tutotonu o le lelei o le faʻatulagaina o tulafono ma le faʻaleleia atili mo faiga eseese.

Virtual Instruction Set Architecture (V-ISA) faʻamatalaina maualalo tulaga tulaga masini ma tuʻufaʻatasia ituaiga eseese o parallelism ma manatuaina tusiata fale e faʻaaoga ai naʻo le faʻavae masani concurrency, le faʻamaumauga tafe faʻafanua. V-ISA faʻatagaina ona ausia feaveaʻi i le va o ituaiga eseese o tutusa masini komepiuta masini ma faʻatagaina le leiloa galuega faatino pe a faʻaaogaina elemeni eseese o heterogeneous sisitema. E mafai foi ona faʻaaogaina le Virtual ISA e tuʻuina atu ai le lautele o le polokalame code e mafai ona faʻatautaia e faʻaaoga ai le CPU, GPU, FPGA, ma le tele o saoasaoa.

I le taimi nei o atinae, E ofaina e le HPVM ni afi eletise e mafai ona faʻaliliu upu o faʻatonuga na faʻamatalaina e le ISA Virtual e tamoʻe faʻaaoga NVIDIA GPUs (cuDNN ma OpenCL), Intel AVX vector faʻatonuga, ma tele-autu x86 CPU. }

I le taimi o le faʻatinoga, HPVM faʻaogaina fetuʻutuʻunaina faʻavasegaina faiga mo le faʻatupeina gaioiga, faʻatino uma i luga o le faʻavae o faʻamatalaga e uiga i le polokalame (fausaga ata) ma ala i le tuʻufaʻatasia o taʻitasi polokalame nodes mo le faʻatinoina o soʻo se masini komepiuta o taunuʻuga avanoa i le polokalama.

Faʻatusatusa i le muamua vaʻaiga vaʻaiga, HPVM 1.0 aofia ai lagolago mo linear algebra tensor faʻagaioiga, fesoʻotaʻiga mo Pytorch ma Keras ma se faʻataʻitaʻiga tuning faʻavae e otometi lava filifilia filifiliga faʻatulagaina lelei mo nisi o faʻagaioiga o le tenor ma filifilia se nofoaga mo sili lelei gaioiga.

I le iuga, afai e te fiafia i le iloa atili e uiga i lenei tuʻufaʻatasia, E mafai ona e siakiina auiliiliga i le fesoʻotaʻiga lenei.


O mataupu o le tusitusiga e tausisi ia tatou mataupu silisili o amio lelei faʻatonu. E lipotia se mea sese kiliki iinei.

Ia avea muamua ma faamatalaga

Tuʻu lau faamatalaga

o le a le lomia lou tuatusi imeli.

*

*

  1. E tali atu mo faʻamatalaga: Miguel Ángel Gatón
  2. Faamoemoega o faʻamatalaga: Pulea le SPAM, faʻamatalaga pulega.
  3. Tulaga faʻatulafonoina: Lau maliega
  4. Fesoʻotaʻiga o faʻamatalaga: O faʻamatalaga o le a le fesoʻotaʻi atu i isi vaega vagana i tulafono faʻatulafonoina.
  5. Teuina o faʻamatalaga: Faʻamaumauga tuʻufaʻatasia e Occentus Networks (EU)
  6. Aia Tatau: I soo se taimi e mafai ai ona e faʻatapulaʻaina, toe maua ma aveʻese au faʻamatalaga.