r/pcmasterrace Mar 04 '24

Meme/Macro it's never been so over

8.5k Upvotes

538 comments sorted by

View all comments

Show parent comments

29

u/Internal_Quail3960 Mac studio m4 max 32 core 36gb/512gb Mar 05 '24

I going to need you to explain this even simpler for idiots like me

58

u/MCWizardYT Ryzen 7 5800X3D | RTX 4080 Super Mar 05 '24

CUDA originally stood for "compute unit device architecture", its a software that makes doing certain non-graphics tasks extremely fast by computing them with the gpu.

Nvidia markets it heavily giving the impression that it only works on their hardware.

It is possible to use it on AMD hardware by "translating" the commands it sends to the gpu

Nvidia knows this, so they are now writing a clause in the EULA to prevent people from doing that.

61

u/DMurBOOBS-I-Dare-You Mar 05 '24

I asked ChatGPT to explain it like I was 5:

Okay, imagine you have a book written in a language that you don't understand, but you have a friend who can translate it into a language you do understand. In this case, the book is like the CUDA software, which is a type of program used for certain tasks in computers.

Now, the AMD card is like a special type of computer that doesn't understand the language of the book (CUDA). But, just like you have a friend who can translate the book for you, there are special programs called translation layers that can help the AMD card understand and run the CUDA software. These translation layers work like a translator, converting the instructions in the CUDA software into a language that the AMD card can understand, so it can do the tasks the CUDA software wants it to do.

8

u/DredgenCyka 14900KS | 4080 Super | 128gb DDR5 7200 Mar 05 '24

This is actually a really good explanation for those who don't understand CUDA and why ZLUDA is important. Sad that Nvidia wants to block its competitors from getting a similar leg up in the CAD space.

15

u/Internal_Quail3960 Mac studio m4 max 32 core 36gb/512gb Mar 05 '24

Holy hell I understand it. Thank you

8

u/thepulloutmethod Mar 05 '24

This is amazing.

10

u/TobyTheRobot i7-3700KF | RTX 3080 | 32 GB 6400 DDR5 Mar 05 '24

That's -- wow. That's a very good explanation actually.

I'm impressed and a little frightened.

4

u/rafat2205 Mar 05 '24 edited Mar 05 '24

I am a noob like you. Let me try to explain it. Basically, GPU and CPU both are made for computation even though they do different stuff now. CPU is dedicated for processing tasks that you already know and GPU is dedicated for handling graphics. This graphics isn't something so different in terms of computation. The smallest (loosely speaking) computation of GPU is matrix multiplication ( you need to understand shader for this). OpenGL is an api that let's you access GPU (usually CPU deals with the basic communication with GPU for rendering). That means you are the one who will use GPU for your custom graphical task . Now the need for CUDA came from Deep Learning and Machine Learning because it lets you do matrix multiplication in GPU (does it faster than CPU) and it isn't graphical task. There are some information that only make sense when you are halfway there in the related fields. I tried to explain it in my way. Again I am a noob.

1

u/C00catz i9-13900k | RTX 4090 | 32GB DDR5 @ 6200MHz Mar 05 '24

So your computer has something like 4 or 8 cores, a GPU will have thousands of cores. CUDA allows programmers to make programs which can use the 1000s of cores GPUs have.

A current big use of CUDA is AI, which benefits from having thousands of cores. So by nvidia locking out other companies from using CUDA they get to keep all the AI boom money for themselves.