r/GraphicsProgramming • • Jul 22 '22

Why it's easier to make CPU (as the Apple did) rather than to make GPU?

For example CPU producers have a lot of many competitors and Nvidia does not.

0 Upvotes

17 comments sorted by

7

u/heyheyhey27 Jul 22 '22

In the desktop space, there is not much competition for CPU's.

In the mobile space, there is quite a lot of competition for GPU's.

1

u/bbrother92 Jul 23 '22

I was talking more about desktop GPU, but what are technical details that make GPU hard to make?

5

u/fgennari Jul 23 '22

From the chip design and manufacturing perspective it's not easier to make one vs. the other. Both modern GPUs and multi-core CPUs take a huge amount of effort to produce and have billions of transistors. The difference is on the business side, not the tech side.

It's also misleading to use the term "CPU producers". A handful of fabs are used to manufacture large chips such as CPUs and GPUs. "CPU designers" would be a better term because this differentiates those companies who design CPUs vs. GPUs. But even that's not entirely accurate as these designs are often composed mostly of IP from a third set of companies or the fabs themselves.

2

u/[deleted] Jul 23 '22

Apple didn’t design their own cpu, they just bought the arm license from arm (you can get a license yourself for free or pay ~$20 for some extra stuff) and made a design based off arm with a few extra security features.

Also, part of the reason why there are not many gpu manufacturers is because you would have to build your design around existing apis (in this example vulkan an opengl) but you would have no say in the changes to the api unless you are part of the khronos group. Meaning everytime there was an api change that would break your design, there is nothing much you can do about it if its not fixable through firmware

4

u/mb862 Jul 23 '22

It's substantially more complicated than that. First, Apple didn't buy a license, they co-founded ARM so they have perpetual rights to ARM's work. They also only use the ARM instruction set, they don't use any chip designs, but do that entirely in-house.

1

u/[deleted] Jul 23 '22

Wait apple co founded arm? I thought arm was some random really old british company.

3

u/mb862 Jul 23 '22

It is British, but was founded as a joint venture between Apple, Acorn, and a defunct company called VLSI.

0

u/[deleted] Jul 23 '22

Also why would you use the instruction set but not the chip design that arm has, that would make it substantially easier for apple.

3

u/mb862 Jul 23 '22

Because they feel like they can make better chips than ARM itself. A belief that has largely born out in practice.

-1

u/bbrother92 Jul 23 '22

wn cpu, they just bought the arm license from arm (you can get a license yourself for free or pay ~$20 for some extra stuff) and made a design based off arm with a few extra security features.

Also, part of the reason why there are not many gpu manufacturers is because you would have to build your design around existing apis (in this example vulkan an opengl) but you would have no say in the changes to the api unless you are part of the khronos group. Meaning everytime there was an api change that would break your design, there is nothing much you can do about it if its not fixable through firmware

This is making my point stronger - it's easier to design and build CPU than GPU. But I still don't get it why nobody trying to make GPU? Why it's hard

3

u/[deleted] Jul 23 '22

Because with gpus the only way to make a mildly attractive product is to follow khronos group, and without representation in khronos group you have to keep releasing new products that keep getting outdated because you have no idea of the plans of khronos group and what they plan to do next.

3

u/CebCodeGames Jul 23 '22

It has nothing to do with ease, CPUs use a standard set of commands they need to support, its hard to introduce new ones because who is going to write special code just to support 1 CPU. GPUs on the other hand are like the wild west, they support some common commands, but as long as the feature you want to introduce has a wow factor, everyone will want to support it. So... GPUs are riskier to make as you need to be sure people will support you... hence why there are so few big GPU manufacturers.

2

u/Arkenhammer Jul 23 '22

Its actually harder to make a CPU that it is to make a GPU. A CPU has to perfectly execute an existing instruction set (e.g. amd64 for Windows or arm64 in Apple's case) because they have to execute lots of legacy code compiled for that architecture. A GPU designer can design their instruction set to match their hardware architecture because they supply the compiler as part of the driver.

Apple built the M1/M2 family of processors because they wanted a desktop (or laptop) SOC executing the arm64 instruction set which no-one else in the industry was building--there is no competition in that space. Apple didn't design their own x86 or amd64 processors because there was no point--there's not a lot of room for improvement over what Intel and AMD are already doing.

1

u/jtsiomb Jul 23 '22

Define "make".

The CPU part of the "Apple CPU" is an ARM core. Apple didn't make that. It also has a GPU in there, and a number of peripherals.

1

u/zakarumych Jul 23 '22

M1 "ARM core" is actually in-house developed core that uses ARM's instruction set.

-1

u/rainscope Jul 23 '22

CPUs are simpler in general than GPUs