Recent comments in /f/explainlikeimfive

neilk t1_j6lf4hb wrote

The CPU is like "here are all the 30 thousand triangles that represent this thing, and here is the angle from which I would like to view it. Please do the complex mathematical transformations that a) rotate all 30 thousand triangles in space b) project all 30 thousand triangles from 3D space into 2D triangles on a screen"

There's also stuff to figure out what parts of the model are hidden from view, reflections, textures, shadows, etc, but you get it.

24

Ferocious_Armadillo t1_j6lf39v wrote

Hemoglobin carries oxygen to every cell in your body. Low hemoglobin means less oxygen is getting to your cells. Different cells can go do long without the optimal level of oxygen they need, and so, those parts of your body get damaged. The amount of damage done to different parts of the body determines the effect on your overall health. Since certain parts of your body have really important functions and a high demand of oxygen (your brain, your heart) this could have especially bad long term effects.

1

BroscientistsHateHim t1_j6len76 wrote

A matrix is a bunch of numbers arranged in a rectangle that is X numbers wide and Y numbers long

So if X is 10 and Y is 10, you have a 10 by 10 square filled with random (doesn't matter) numbers. A total of 100 numbers fill the matrix.

If you tell the cpu you want to add +1 to all of the numbers, it does them one by one, left to right, top to bottom one at a time. Let's say adding two numbers together takes 1 second, so this takes 100 seconds, one for each number in our square

If you instead tell a GPU you want to add +1 to all of the numbers, it adds +1 to all the numbers simultaneously and you get your result in 1 second. How can it do that? Well, it has 100 baby-CPUs in it, of course!

So as others have said a CPU can do what a GPU can do, just slower. This crude example is accurate in the sense that a GPU is particularly well-suited for matrix operations... But otherwise it's a very incomplete illustration.

You might wonder - why doesn't everything go through a GPU if it is so much faster. There are a lot of reasons for this but the short answer is the CPU can do anything the baby-CPU/GPU can, but the opposite is not true.

4

Affectionate_Hat_585 t1_j6lec1r wrote

One explanation I like is comparing cpu with superman and gpu with 1000 normal people. The cpu is powerful and can perform lots of instructions just like superman can lift heavy things easily. Gpu can perform simple calculations parallely just like 1000 children who are taught to do math calculation can outperform even superman or cpu if you can divide a task. The pixels need individual calculation. Cpu is slow because it is a single one or its cores are countable in hands which is doing the task. Gpu on the other hand has a lot of small micro cpu with a lot of core count. 1050 ti has about 768 cuda cores.

2

Pokemonobsessedlesbo OP t1_j6le9n1 wrote

Of course, but the behavior we associate with pair bonding would be similar to the behavior we associate with codependency in humans. And I’m aware most animals do not pair bind but a considerable number of pair bonds have been noticed in both domestic and non domestic mammals, and many birds

−5

Aspy343 t1_j6le4cr wrote

There's a super simple way of checking this, and that's to just say the sentence without the other person.

"Me and Joe went to the park" becomes "Me went to the park", which clearly sounds wrong.

"Joe and I went to the park" becomes "I went to the park", which clearly sounds right.

A lot of people think "Come upstairs with John and I" sounds right because of the "I" but when you remove the other person it becomes "Come upstairs with I", which is clearly wrong, so it should be "Come upstairs with me".

3

AdverseLuck8020 t1_j6ldxod wrote

Don't forget the nimbys. Places where a well to do land owner is so connected they say nah... put it somewhere else. Look for hard right turns in rural area highways. Also interest groups and neighborhood coalitions these days. Look at all the stink around I45 downtown Houston. Also keep in mind that turning a car 90 degrees at 70 miles per hour takes a lot of curved roadway. Think about how long the interchange ramps are around Beltway8 Houston.

1

Musichord t1_j6ldney wrote

I think it might have something to do with what is described. Using your example, I read the first as a big wall, that is the colour brown, made of brick. The second one, I read a big wall, of brick brown colour (brick describing the colour) They provide different info- on the second sentence, I lost the info that the wall is actually made of brick.

3

neilk t1_j6lcux6 wrote

Think of it this way.

The CPU is like a chef in a restaurant. It sees an order coming in for a steak and potatoes and salad. It gets to work cooking those things. It starts the steak in a pan. It has to watch the steak carefully, and flip it at the right time. The potatoes have to be partially boiled in a pot, then finished in the same pan as the steak.

Meanwhile, the CPU delegates the salad to the GPU. The GPU is a guy who operates an entire table full of salad chopping machines. He can only do one thing: chop vegetables. But he can stuff carrots, lettuce, cucumbers, and everything else, into all the machines at once, press the button, and watch it spit out perfect results, far faster than a chef could do.

Back to the programming world.

The CPU excels at processing the main logic of a computer program. The result of one computation will be important for the next part, so it can only do so many things at once.

The GPU excels at getting a ridiculous amount of data and then doing the same processing on ALL of it at the same time. It is particularly good at the kind of math that arranges thousands of little triangles in just the right way to look like a 3D object.

28