I-ZLUDA, ukuphunyezwa okuvumela ukuqhuba izicelo zeCUDA kwi-AMD GPUs

ZLUDA

I-ZLUDA ibaleka kwi-AMD's ROCm stack

Iindaba zikhutshiwe ukuba I-AMD yenze isigqibo sokuyeka inkxaso-mali yophuhliso lwe-ZLUDA, oko ikukuthi ukuphunyezwa okuvulekileyo kwetekhnoloji yeCUDA ye-AMD GPUs, ikuvumela ukuba usebenzise izicelo zeCUDA ngaphandle kokuziguqula ngokusebenza kufutshane naleyo yezicelo ezisebenza ngaphandle kweemaleko ezongezelelweyo.

Kule minyaka mibini idlulileyo, kuye kwenziwa umsebenzi wokuphuhlisa lo maleko ukuququzelela ukuphunyezwa kwezicelo zeCUDA kwiinkqubo ezine-AMD GPUs. Kodwa kude kube kutshanje I-AMD yenze isigqibo sokuba sebenzisa izicelo zeCUDA kwi-AMD GPUs yayingeyomdla wezorhwebo, eyavumela umphuhlisi ukuba avule uphuhliso lwayo njengoko kuvunyelwene kwisivumelwano.

Malunga neZLUDA

Le projekthi yadalwa ekuqaleni ukuxhasa umsebenzi weCUDA kwi-Intel GPUs kunye notshintsho kumgaqo-nkqubo wenkxaso ye-GPU kungenxa yokuba ekuqaleni umphuhlisi we-ZLUDA wayengumqeshwa we-Intel. Ngo-2021, I-Intel yagqiba ekubeni ayinakurhweba ukunika amandla okuqhuba izicelo zeCUDA kwi-Intel GPUs, ekhokelele ekuyekisweni kophuhliso lweli nyathelo.

Ekuqaleni kuka-2022, umphuhlisi ushiye i-Intel kwaye watyikitya isivumelwano kunye ne-AMD sokuqhubeka nophuhliso yomaleko wokuhambelana kweCUDA. Ngexesha lophuhliso, i-AMD yacela ukuba umdla wenkampani kwiprojekthi ye-ZLUDA unganyuswa kwaye ingazibophelelanga kwindawo yokugcina uluntu lwe-ZLUDA.

I-ZLUDA ibonelela ngenkxaso yokubini kwizicelo zeCUDA esele ikhona ihlanganiswe ne-CUDA compiler ye-NVIDIA GPUs, ngaphandle kwesidingo sokwenza utshintsho kwinqanaba lekhowudi yomthombo. Ukuphunyezwa kusebenza kwi-AMD's ROCm stack kunye ne-HIP runtime.

Kwimeko yayo yangoku, Umgangatho wokuguqulwa kwe-ZLUDA uthathwa njengenguqulelo yealpha. Nangona kufanelekile ukukhankanya ukuba sele ikwazi ukuqhuba izicelo ezininzi ze-CUDA, ukongeza ekuboneleleni ngenkxaso encinci yeeprimitives kunye namathala eencwadi, ikwanokuphunyezwa kweprototype yesakhelo se-OptiX.

ZLUDA

Itshathi yokuthelekisa ye-ZLUDA

Ngethuba lokuphunyezwa kokuqala kwezicelo ze-CUDA phantsi kolawulo lwe-ZLUDA ufumana ukulibaziseka okubonakalayo kuba i-ZLUDA iqulunqa ikhowudi ye-GPU. Nangona kunjalo, kwimibaleko elandelayo olulibaziseko luyanyamalala, njengoko ikhowudi ehlanganisiweyo igcinwe kwi-cache, isiphumo sokusebenza kufutshane-kwindalo xa usebenzisa ikhowudi ehlanganisiweyo. Ngokomzekelo, xa uqhuba i-Geekbench kwi-AMD Radeon 6800 XT GPU, i-ZLUDA-based version ye-CUDA benchmark suite ibonise ukusebenza okungcono kakhulu kune-OpenCL-based version.

Ukongezelela, kukhankanyiwe ukuba inkxaso ye-API yomqhubi we-CUDA esemthethweni kunye nobunjineli obubuyiselayo be-API engabhalwanga ye-CUDA iphunyezwe kwi-ZLUDA ngokutshintsha iifowuni zemisebenzi kunye nemisebenzi efana nayo enikwe kwixesha le-HIP, elifana kakhulu ne-CUDA.

Umzekelo, umsebenzi cuDeviceGetAttribute() endaweni yawo hipDeviceGetAttribute(). I-ZLUDA iphinda iqinisekise ukuhambelana neelayibrari ze-NVIDIA ezifana ne-NVML, cuBLAS kunye ne-cuSPARSE. Kula mathala eencwadi, i-ZLUDA ibonelela ngamathala eencwadi okuguqulela anegama elifanayo kunye neseti efanayo, eyakhelwe phezu kwamathala eencwadi e-AMD afanayo. Ikhowudi yesicelo se-GPU, ehlanganiswe kwi-PTX (i-Parallel Thread Execution) ukumelwa, iguqulelwe ngumqokeleli okhethekileyo kumboniso ophakathi we-LLVM IR, apho ikhowudi yokubini ye-AMD GPU yenziwa.

Okokugqibela, kufanelekile ukuba ikhankanywe Ikamva leprojekthi lixhomekeke kumdla woluntu kunye nezindululo zentsebenziswano ezinokubakho ezivela kwezinye iinkampani. Ngaphandle kwenkxaso yangaphandle, iprojekthi iya kuqhubeka nokuphuhlisa kuphela kwiindawo ezinomdla kumntu siqu kumbhali, njenge-DLSS.

Ku unomdla kwikhowudi yeprojekthi, kufuneka ukwazi ukuba kubhaliwe kwi-Rust kwaye ihanjiswa phantsi kwe-MIT kunye ne-Apache 2.0 iilayisenisi, kwaye iprojekthi iyahambelana neLinux kunye neWindows. Ukuba unomdla wokufunda ngakumbi ngayo, ungajonga iinkcukacha Kule khonkco ilandelayo.


Shiya uluvo lwakho

Idilesi yakho ye email aziyi kupapashwa. ezidingekayo ziphawulwe *

*

*

  1. Inoxanduva lwedatha: I-AB Internet Networks 2008 SL
  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.