I-Rusticl ngoku iqinisekisiwe kwaye ixhasa i-OpenCL 3.0

umhlwa-2

Umlawuli we-Mesa's Rusticl uphumelele iimvavanyo zeConformance Test Suite (CTS).

Los abaphuhlisi beprojekthi ye-Mesa babhengeze isatifikethi somlawuli we-rusticl ngumbutho weKhronos, owathiuphumelele zonke iimvavanyo ze-CTS (I-Kronos Conformance Test Suite) kwaye yamkelwa njengethobela ngokupheleleyo i-OpenCL 3.0 inkcazo, echaza i-APIs yolwimi lwe-C kunye nezandiso zokucwangcisa i-cross-platform parallel computing.

Ngale nto, kuye kwenzeka ukuba ufumane isatifikethi esivumela ukuvakalisa ngokusemthethweni ukuhambelana nemigangatho kunye nokusetyenziswa kweempawu zentengiso ze-Khronos ezinxulumene nazo.

Umqhubi ubhalwe kwiRust kwaye uphuhliswe nguKarol Herbst kaRed Hat, obandakanyekayo kuphuhliso lweMesa, umqhubi weNouveau, kunye ne-OpenCL stack evulekile.

URusticl uphumelela zonke iimvavanyo zeCTS

I-Rusticl isanda kuba yikhowudi yokuqala ye-Rust ngaphakathi kwe-Mesa, kunye nokuphunyezwa kwe-OpenCL kutshanje idibaniswe kwi-Mesa 22.3 ukukhululwa, kwaye kufuneka kuqatshelwe ukuba uvavanyo lwenziwa kwinkqubo kunye ne-Intel GPU edibeneyo ye-12 esebenzisa umqhubi we-Gallium3D Iris.

Kwabo abangaziyo umlawuli, uRusticl kufuneka azi ukuba oku isebenza njengeqabane le-Mesa's OpenCL Clover interface kwaye iphuhliswe kusetyenziswa ujongano lweMesa yeGallium. I-Clover kudala ingahoywa kwaye i-rusticl ibekwe njengokutshintshwa kwayo kwixesha elizayo. Ukongeza ekufezekiseni ukuhambelana kwe-OpenCL 3.0, iprojekthi ye-Rusticl ihluke kwi-Clover kuba ixhasa i-OpenCL izandiso zokulungiswa komfanekiso, kodwa ayikaxhasi i-FP16 ifomathi.

I-Rusticl isebenzisa i-rust-bindgen ukuvelisa izibophelelo ze-Mesa kunye ne-OpenCL ezivumela imisebenzi ye-Rust ukuba ibizwe ukusuka kwikhowudi ye-C kunye vice versa. Ukubanakho ukusebenzisa ulwimi lweRust kwiprojekthi yeMesa kuxoxwe ngayo ukusukela ngo-2020.

Phakathi iingenelo umhlwa inkxaso ukukhankanya ukuphucula ukhuseleko kunye nomgangatho abaqhubi ngokususa iingxaki eziqhelekileyo xa usebenza ngenkumbulo, kunye ne Ukubanakho ukubandakanya uphuhliso lomntu wesithathu eMesa, njengeKazan (ukuphunyezwa kweVulkan eRust). Phakathi kweentsilelo, kukho ukuxakeka kwenkqubo yokwakha, ukungafuni ukudibanisa nenkqubo yokupakisha umthwalo, ukwanda kweemfuno zendawo yokwakha, kunye nesidingo sokubandakanya i-Rust compiler kwizinto ezixhomekeke zokwakha ezifunekayo ukwakha isitshixo. amalungu edesktop kwiLinux.

Ikhowudi yokuxhasa ulwimi lweRust kunye isilawuli se-rusticl samkelwe kwi-Mesa eqhelekileyo kwaye iya kunikwa kwi-Mesa 22.3 ukukhutshwa, ekulindeleke ngasekupheleni kukaNovemba. Inkxaso yeRust kunye neRusticl iya kukhutshazwa ngokungagqibekanga kwaye iya kufuna ukuhlanganiswa ngeendlela ezicacileyo "-D gallium-rusticl=yinyaniso -Dllvm=enabled -Drust_std=2021«.

Xa uqulunqa, i-rustc compiler, bindgen, LLVM, SPIRV-Tools, kunye ne-SPIRV-LLVM-Translator ziyafuneka njengokuxhomekeka okongeziweyo.

Kufuneka kukhankanywe ukubaI-OpenCL 3.0 API igubungela zonke iinguqulelo ze-OpenCL (1.2, 2.x), ngaphandle kokubonelela ngeenkcukacha ezahlukeneyo zoguqulelo ngalunye. I-OpenCL 3.0 inika amandla okwandisa ukusebenza okungundoqo ngokudityaniswa kweenkcukacha ezongezelelweyo eziza kukhwelana ngendlela yokhetho ngaphandle kokuthintela uhlobo lwe-monolithic lwe-OpenCL 1.2 / 2.X.

Ukongeza, iinkcukacha I-OpenCL 3.0 ilungelelaniswe nokusingqongileyo, izandiso kunye neenkcukacha ze umelo oluphakathi oluqhelekileyo I-SPIR-V, nayo isebenzisa iVulkan API. Ngayo, inkxaso yenkcazo ye-SPIR-V 1.3 yongezwe kwi-OpenCL 3.0 kernel njengento ekhethiweyo. Ngokusebenzisa iSPIR-V umelo oluphakathi kwiinkozo zokubala, inkxaso yokusebenza ngamaqela amancinci yongeziwe.

Ekugqibeleni, kuyafaneleka ukuba uqaphele umsebenzi wokuphuhliswa komqhubi weNouveau, owenziwe nguCarol Herbst. Umqhubi we-Nouveau wongeza inkxaso esisiseko ye-OpenGL ye-GNU NVIDIA GeForce RTX 30xx esekelwe kwi-Ampere microarchitecture ekhutshwe ukususela ngoMeyi 2020. Utshintsho olunxulumene nenkxaso ye-chip entsha iya kubandakanywa kwi-Linux 6.2 kunye ne-Mesa 22.3 kernel.

Ukuba unomdla wokwazi ngakumbi ngayo, ungajonga iinkcukacha Kule khonkco ilandelayo.


Umxholo wenqaku uyabambelela kwimigaqo yethu imigaqo yokuziphatha yokuhlela. Ukuxela impazamo cofa apha.

Yiba ngowokuqala ukuphawula

Shiya uluvo lwakho

Idilesi yakho ye email aziyi kupapashwa. ezidingekayo ziphawulwe *

*

*

  1. Uxanduva lwedatha: UMiguel Ángel Gatón
  2. Injongo yedatha: Ulawulo lwe-SPAM, ulawulo lwezimvo.
  3. Umthetho: Imvume yakho
  4. Unxibelelwano lwedatha: Idatha ayizukuhanjiswa kubantu besithathu ngaphandle koxanduva lomthetho.
  5. Ukugcinwa kweenkcukacha
  6. Amalungelo: Ngalo naliphi na ixesha unganciphisa, uphinde uphinde ucime ulwazi lwakho.