Rustical yanzu yana da bokan kuma yana goyan bayan OpenCL 3.0

tsatsa-2

Mai sarrafa Rusticl na Mesa ya yi nasarar cin gwajin Conformance Test Suite (CTS).

da masu haɓaka aikin Mesa sun sanar da takaddun shaida na mai kula da rusticl ta kungiyar Khronos, wandae cikin nasara ya ci duk gwajin CTS (Kronos Conformance Test Suite) kuma an gane shi a matsayin mai cikakken yarda da ƙayyadaddun OpenCL 3.0, wanda ke bayyana APIs na harshen C da kari don tsara tsarin kwamfuta mai layi ɗaya.

Tare da wannan, an sami damar samun takaddun shaida wanda ke ba da izinin bayyana dacewa a hukumance tare da ƙa'idodi da amfani da alamun kasuwancin Khronos da ke alaƙa da su.

An rubuta direban a cikin Rust kuma Red Hat's Karol Herbst ya haɓaka, wanda ke da hannu wajen haɓaka Mesa, direban Nouveau, da buɗaɗɗen tari na OpenCL.

Rustical ya wuce duk gwajin CTS

Rustical ya zama lambar Rust ta farko a cikin Mesa, tare da aiwatar da OpenCL kwanan nan an haɗa shi cikin sakin Mesa 22.3 kuma ya kamata a lura cewa an yi gwaji akan tsarin tare da haɗin gwiwar Intel GPU na ƙarni na 12 ta amfani da direban Gallium3D Iris.

Ga wadanda basu san mai kulawa ba, Ruscil ya kamata su san cewa wannan yana aiki azaman takwaransa ga Mesa's OpenCL Clover interface kuma an haɓaka ta ta amfani da Mesa's Gallium interface. An dade ana watsi da Clover kuma an sanya rusticl a matsayin maye gurbinsa na gaba. Baya ga samun daidaituwar OpenCL 3.0, aikin Ruscil ya bambanta da Clover saboda yana goyan bayan kari na OpenCL don sarrafa hoto, amma har yanzu bai goyi bayan tsarin FP16 ba.

Rustical yana amfani da tsatsa-bindgen don samar da ɗauri don Mesa da OpenCL waɗanda ke ba da izinin ayyukan Rust da ake kira daga lambar C da akasin haka. An tattauna yuwuwar amfani da harshen Rust a cikin aikin Mesa tun 2020.

Daga cikin abũbuwan amfãni daga Tsatsa goyon baya ambaci inganta tsaro da ingancin direbobi ta hanyar kawar da matsalolin al'ada lokacin aiki tare da ƙwaƙwalwar ajiya, da kuma Yiwuwar haɗawa da ci gaban ɓangare na uku a Mesa, kamar Kazan (aiwatar da Vulkan a cikin Rust). Daga cikin gazawar, akwai rikitarwa na tsarin ginawa, rashin son haɗi zuwa tsarin kunshin kaya, haɓaka buƙatu don yanayin ginin, da buƙatar haɗawa da Rust compiler a cikin abubuwan dogara da ake buƙata don gina maɓalli. kayan aikin tebur akan Linux.

Lambar don tallafawa harshen Rust da An karɓi mai sarrafa rusticl cikin Mesa na yau da kullun kuma za a ba da shi a cikin Mesa 22.3 saki, wanda ake sa ran a ƙarshen Nuwamba. Taimakon tsatsa da Ruscil za a kashe ta tsohuwa kuma yana buƙatar haɗawa tare da takamaiman zaɓuɓɓuka "-D gallium-rustical = gaskiya -Dllvm=an kunna -Drust_std=2021".

Lokacin tattarawa, ana buƙatar mai tara rustc, bindgen, LLVM, SPIRV-Tools, da SPIRV-LLVM-Translator azaman ƙarin abin dogaro.

Ya kamata a ambaci cewa shiAPI ɗin OpenCL 3.0 yana rufe duk nau'ikan OpenCL (1.2, 2.x), ba tare da samar da keɓantaccen bayani na kowane juzu'i ba. OpenCL 3.0 yana ba da damar ƙaddamar da ainihin ayyuka ta hanyar haɗakar da ƙarin ƙayyadaddun bayanai waɗanda za su zo tare a cikin nau'i na zaɓuɓɓuka ba tare da toshe yanayin monolithic na OpenCL 1.2 / 2.X ba.

Bugu da kari, da ƙayyadaddun OpenCL 3.0 an daidaita shi tare da yanayi, kari da ƙayyadaddun bayanai na wakilcin matsakaicin matsakaici SPIR-V, cewa kuma yana amfani da Vulkan API. Tare da shi, an ƙara goyan bayan ƙayyadaddun SPIR-V 1.3 zuwa kernel na OpenCL 3.0 azaman fasalin zaɓi. Ta amfani da matsakaicin wakilci na SPIR-V don kernels na lissafi, an ƙara tallafi don ayyuka tare da ƙungiyoyin ƙasa.

A ƙarshe, yana da mahimmanci a lura da aikin haɓaka direban Nouveau, wanda Carol Herbst shima yayi. Direban Nouveau yana ƙara ainihin tallafin OpenGL don GNU NVIDIA GeForce RTX 30xx dangane da Ampere microarchitecture da aka saki tun Mayu 2020. Canje-canje masu alaƙa da sabon tallafin guntu za a haɗa su cikin Linux 6.2 da Mesa 22.3 kwaya.

Idan kuna sha'awar ƙarin sani game da shi, kuna iya tuntuɓar cikakkun bayanai A cikin mahaɗin mai zuwa.


Abubuwan da ke cikin labarin suna bin ka'idodinmu na ka'idojin edita. Don yin rahoton kuskure danna a nan.

Kasance na farko don yin sharhi

Bar tsokaci

Your email address ba za a buga. Bukata filayen suna alama da *

*

*

  1. Mai alhakin bayanan: Miguel Ángel Gatón
  2. Dalilin bayanan: Gudanar da SPAM, gudanar da sharhi.
  3. Halacci: Yarda da yarda
  4. Sadarwar bayanan: Ba za a sanar da wasu bayanan ga wasu kamfanoni ba sai ta hanyar wajibcin doka.
  5. Ajiye bayanai: Bayanin yanar gizo wanda Occentus Networks (EU) suka dauki nauyi
  6. Hakkoki: A kowane lokaci zaka iyakance, dawo da share bayanan ka.